wok-stable annotate bc/receipt @ rev 584
Up: slitaz-tango-icon (1.5) removed emblems and emoticons -100 Ko
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 14:25:32 2008 +0200 (2008-04-15) |
parents | 219f2b20380f |
children | 04d6abcf6d15 |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="bc" |
pankso@5 | 4 VERSION="1.06" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@5 | 6 SHORT_DESC="Bc is a cmdline calculator." |
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/bc/" |
pankso@5 | 10 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$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 $PACKAGE-$VERSION |
pankso@5 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@5 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@5 | 18 make |
pankso@5 | 19 make DESTDIR=$PWD/_pkg install |
pankso@5 | 20 } |
pankso@5 | 21 |
pankso@5 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 23 genpkg_rules() |
pankso@5 | 24 { |
pankso@5 | 25 mkdir -p $fs/usr/bin |
pankso@5 | 26 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@5 | 27 strip -s $fs/usr/bin/* |
pankso@5 | 28 } |