wok annotate bc/receipt @ rev 9662

bc: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 09:06:28 2011 +0200 (2011-05-01)
parents 02bbaa9d12ba
children e91591bae3d5
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
pankso@9662 20 ./configure && make &&
pankso@5 21 make DESTDIR=$PWD/_pkg 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 }