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

Fix slitaz-base-files (gen_pkg)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 06 21:08:42 2008 +0100 (2008-01-06)
parents
children 4959e5789caa
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"
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 }