wok-next view barcode/receipt @ rev 7910

Added DESTDIR=PWD/_pkg to acl. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:07:10 2011 +0000 (2011-01-09)
parents
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="barcode"
4 VERSION="0.98"
5 CATEGORY="utilities"
6 SHORT_DESC="barcode generator"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/barcode/"
10 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure
17 make
18 make prefix=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 strip $_pkg/bin/*
26 strip $_pkg/lib/*
27 cp -a $_pkg/bin $fs/usr
28 cp -a $_pkg/lib $fs/usr
29 }