wok view bc/receipt @ rev 1526

glade3: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 21:20:37 2008 +0000 (2008-10-08)
parents eb4e6a1af180
children 4273e906522b
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 BUILD_DEPENDS="flex"
10 WEB_SITE="http://www.gnu.org/software/bc/"
11 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
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 }