wok-4.x view bc/receipt @ rev 4932
add/improve TAGS b* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 11:40:35 2010 +0000 (2010-02-16) |
parents | 04d6abcf6d15 |
children | 03933a919f81 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bc"
4 VERSION="1.06"
5 CATEGORY="utilities"
6 SHORT_DESC="Bc is a cmdline calculator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="flex"
10 WEB_SITE="http://www.gnu.org/software/bc/"
11 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
12 TAGS="calculator"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $PACKAGE-$VERSION
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/* $fs/usr/bin
29 strip -s $fs/usr/bin/*
30 }