wok-next annotate bc/receipt @ rev 8455

Fixed spidermonkey.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 06 19:18:49 2011 +0000 (2011-02-06)
parents 04d6abcf6d15
children 03933a919f81
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"
pascal@1447 9 BUILD_DEPENDS="flex"
pankso@5 10 WEB_SITE="http://www.gnu.org/software/bc/"
pankso@5 11 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
jozee@4932 12 TAGS="calculator"
pankso@5 13
pankso@5 14 # Rules to configure and make the package.
pankso@5 15 compile_rules()
pankso@5 16 {
pankso@5 17 cd $PACKAGE-$VERSION
pankso@5 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1447 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1447 20 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 strip -s $fs/usr/bin/*
pankso@5 30 }