wok-6.x view bc/receipt @ rev 235
Add: shfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 17 10:53:05 2008 +0100 (2008-02-17) |
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 }