tazwok view examples/receipt @ rev 362

Fixed new-tree option to make new receipt in clean_wok instend of WOK.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 24 08:50:48 2011 +0000 (2011-02-24)
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 }