wok view bc/receipt @ rev 8221

imported patch cleanup_inprogress/slitaz-i18n.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 04d6abcf6d15
children 03933a919f81
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"
12 TAGS="calculator"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $PACKAGE-$VERSION
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/* $fs/usr/bin
29 strip -s $fs/usr/bin/*
30 }