wok-4.x annotate cpio/receipt @ rev 42
Add : isomaster, leafpad, mtpaint with modified icons
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:14:52 2007 +0100 (2007-12-18) |
parents | |
children | cdac43c3f44f |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="cpio" |
pankso@5 | 4 VERSION="2.9" |
pankso@5 | 5 CATEGORY="base-apps" |
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 } |