wok-stable annotate tazpkg/receipt @ rev 3898
slitaz-loram-cdrom: allow frugal install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 15 10:40:49 2009 +0200 (2009-08-15) |
parents | c61f57c3536f |
children | ad6126f9920a |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazpkg" |
pankso@3809 | 4 VERSION="3.0" |
pankso@192 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz packages manager." |
pankso@10 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@722 | 8 DEPENDS="busybox" |
pankso@10 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@10 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@1071 | 11 WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL" |
pankso@10 | 12 |
pankso@10 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 14 # |
pankso@10 | 15 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install |
pankso@10 | 16 # can be do with : make install from the sources directory. |
pankso@10 | 17 # |
pankso@10 | 18 genpkg_rules() |
pankso@10 | 19 { |
pankso@763 | 20 mkdir -p $fs/usr/bin $fs/usr/lib/slitaz $fs/usr/share/doc/$PACKAGE |
pankso@759 | 21 cp -a $src/tazpkg $fs/usr/bin |
pankso@759 | 22 cp -a $src/tazpkgbox $fs/usr/bin |
pankso@763 | 23 cp -a $src/lib/* $fs/usr/lib/slitaz |
pankso@759 | 24 cp -a $src/applications $fs/usr/share |
pankso@759 | 25 cp -a $src/pixmaps $fs/usr/share |
pankso@722 | 26 cp -a $src/doc/$PACKAGE.html $fs/usr/share/doc/$PACKAGE |
pankso@10 | 27 chmod 755 $fs/usr/bin/$PACKAGE |
pankso@722 | 28 chown -R root.root $fs |
pankso@10 | 29 } |