wok-stable view bc/receipt @ rev 354

Up: slitaz-tools (1.9) with Tazlito GUI
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 07 00:01:58 2008 +0100 (2008-03-07)
parents cdac43c3f44f
children eb4e6a1af180
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 WEB_SITE="http://www.gnu.org/software/bc/"
10 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
11 JWM_MENU='Utilities:<Program icon="accessories-calculator.png" label="Bc">xterm -bg black -fg white -cr lightgreen -e bc</Program>'
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 }