wok-stable annotate bc/receipt @ rev 11354
Up sslh (1.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 01 11:36:59 2011 +0100 (2011-12-01) |
parents | eb613fa67090 |
children |
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@9662 | 9 WEB_SITE="http://www.gnu.org/software/bc/" |
pankso@9662 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9662 | 11 TAGS="calculator" |
pankso@9662 | 12 |
pankso@9662 | 13 DEPENDS="" |
pascal@1447 | 14 BUILD_DEPENDS="flex" |
pankso@5 | 15 |
pankso@5 | 16 # Rules to configure and make the package. |
pankso@5 | 17 compile_rules() |
pankso@5 | 18 { |
pankso@9662 | 19 cd $src |
slaxemulator@10282 | 20 ./configure $CONFIGURE_ARGS && make && |
slaxemulator@10282 | 21 make DESTDIR=$DESTDIR install |
pankso@5 | 22 } |
pankso@5 | 23 |
pankso@5 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 25 genpkg_rules() |
pankso@5 | 26 { |
pankso@5 | 27 mkdir -p $fs/usr/bin |
pankso@5 | 28 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@5 | 29 } |