wok-4.x view bc/receipt @ rev 1121

gpxe: add cmdline support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 21 14:22:01 2008 +0000 (2008-07-21)
parents 219f2b20380f
children 04d6abcf6d15
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $PACKAGE-$VERSION
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $_pkg/usr/bin/* $fs/usr/bin
27 strip -s $fs/usr/bin/*
28 }