wok-current view bc/receipt @ rev 153

Add JWM_MENU infos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 19:03:45 2008 +0100 (2008-01-26)
parents 23d38a7a06cc
children cdac43c3f44f
line source
1 # SliTaz package receipt.
3 PACKAGE="bc"
4 VERSION="1.06"
5 CATEGORY="base-apps"
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 }