tazwok view examples/receipt @ rev 547
Fix: remove_previous_package() doesn't triger false failure report anymore.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 09 20:49:42 2011 +0100 (2011-12-09) |
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 }