tazwok annotate examples/receipt @ rev 55
Give status when creatin fs (busybox cpio)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 00:18:15 2008 +0200 (2008-04-18) |
parents | c1f521073999 |
children | 09a5c6aa4f92 |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="bc" |
pankso@9 | 4 VERSION="1.06" |
pankso@22 | 5 CATEGORY="utilities" |
pankso@9 | 6 SHORT_DESC="Bc is a cmdline calculator." |
pankso@22 | 7 MAINTAINER="name@example.org" |
pankso@9 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9 | 9 WEB_SITE="http://www.gnu.org/software/bc/" |
pankso@22 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9 | 11 |
pankso@9 | 12 # Rules to configure and make the package. |
pankso@9 | 13 compile_rules() |
pankso@9 | 14 { |
pankso@19 | 15 cd $src |
pankso@22 | 16 ./configure \ |
pankso@22 | 17 --prefix=/usr \ |
pankso@22 | 18 --infodir=/usr/share/info \ |
pankso@22 | 19 --mandir=/usr/share/man \ |
pankso@22 | 20 $CONFIGURE_ARGS |
pankso@9 | 21 make |
pankso@9 | 22 make DESTDIR=$PWD/_pkg install |
pankso@9 | 23 } |
pankso@9 | 24 |
pankso@9 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 26 genpkg_rules() |
pankso@9 | 27 { |
pankso@22 | 28 mkdir -p $fs/usr |
pankso@22 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@9 | 30 strip -s $fs/usr/bin/* |
pankso@9 | 31 } |