wok annotate cpio/receipt @ rev 2518
l*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:15:30 2009 +0000 (2009-03-16) |
parents | 23d38a7a06cc |
children | 8548e74abb6a |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="cpio" |
pankso@5 | 4 VERSION="2.9" |
pankso@178 | 5 CATEGORY="base-system" |
pankso@5 | 6 SHORT_DESC="GNU cpio archiver." |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@5 | 9 WEB_SITE="http://www.gnu.org/software/cpio/" |
pankso@5 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@5 | 11 |
pankso@5 | 12 # Rules to configure and make the package. |
pankso@5 | 13 compile_rules() |
pankso@5 | 14 { |
pankso@5 | 15 cd $src |
pankso@5 | 16 ./configure --prefix=/usr --bindir=/bin \ |
pankso@5 | 17 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pankso@5 | 18 --infodir=/usr/share/info $CONFIGURE_ARGS |
pankso@5 | 19 make |
pankso@5 | 20 make DESTDIR=$PWD/_pkg install |
pankso@5 | 21 } |
pankso@5 | 22 |
pankso@5 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 24 genpkg_rules() |
pankso@5 | 25 { |
pankso@5 | 26 mkdir -p $fs/usr/share/locale |
pankso@5 | 27 cp -a $_pkg/bin $fs |
pankso@5 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@5 | 29 # Locale fr. |
pankso@5 | 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@5 | 31 # Strip package. |
pankso@5 | 32 strip -s $fs/bin/* |
pankso@5 | 33 strip -s $fs/usr/bin/* |
pankso@5 | 34 } |