wok-4.x view qrencode/receipt @ rev 10333

gegl: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 01:15:01 2011 +0000 (2011-05-22)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qrencode"
4 VERSION="3.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="C library for encoding data in a QR Code symbol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://megaui.net/fukuchi/works/qrencode/index.en.html"
10 WGET_URL="http://megaui.net/fukuchi/works/qrencode/$TARBALL"
11 DEPENDS="libpng"
12 BUILD_DEPENDS="libpng-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/lib*so* $fs/usr/lib
31 }