Again I seem to miss something obvious.
Trying to learn how to create source code packages with upkg, I started with a simple case (at least I thought so), with boxes (
http://boxes.thomasjensen.com/).
The Makefile in the source code just creates the binary and the manpage, you have to install them manually. So I added some documentation, then edited the Makefile and added an install entry and an uninstall entry. The commands "make", "make install" and "make uninstall" work flawlessly. So far, so good.
I then made the tarball with tar cPvjf (tried tar cvjf as well) boxes-paldo-1.11.tar.bz2 and put it into the sources directory of my local repository. then I wrote a spec named boxes-paldo.xml like shown at the end of this posting.
When I now say upkg-build (as root), I get:
upkg-build boxes-paldo
Generating script...
Writing script...
Executing script...
System already up-to-date.
It does not install anything nor writes it a logfile. Up to now I *think* that I followed the instructions in
http://www.paldo.org/wiki/HowtoBuildPackage#A_concrete_problem
What am I doing wrong?
erch
Here is my spec boxes-paldo.xml:
<?xml version="1.0"?>
<package name="boxes-paldo">
<description>boxes - draws any kind of box around some given text. Packed for Paldo</description>
<releases>
<release version="1-11" revision="1" branch="testing">
<settings>
</settings>
<deps>
</deps>
<build>
<script>
<archive name="boxes-paldo-$VERSION">
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>