tazwok annotate examples/receipt @ rev 169
use make -j 4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 00:21:30 2010 +0200 (2010-07-10) |
parents | 09a5c6aa4f92 |
children | 08c39bd8d068 |
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@113 | 20 $CONFIGURE_ARGS && |
pascal@169 | 21 make -j 4 && make DESTDIR=$PWD/_pkg install |
pankso@9 | 22 } |
pankso@9 | 23 |
pankso@9 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 25 genpkg_rules() |
pankso@9 | 26 { |
pankso@22 | 27 mkdir -p $fs/usr |
pankso@22 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@9 | 29 } |