wok-current view bc/receipt @ rev 3070

Up: geany (0.17)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:52:12 2009 +0200 (2009-05-13)
parents eb4e6a1af180
children 4273e906522b
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $PACKAGE-$VERSION
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/usr/bin/* $fs/usr/bin
28 strip -s $fs/usr/bin/*
29 }