tazwok view examples/receipt @ rev 554

Compatibility fix for $install variable in compile_rules
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 11 19:13:46 2012 +0100 (2012-03-11)
parents 817d7df8486c
children
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="name@example.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/bc/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure && make && make install
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr
23 cp -a $_pkg/usr/bin $fs/usr
24 }