wok view qrencode/receipt @ rev 8728
Fixed linux not to put a tmp folder in WOK. Instead its WOK/PACKAGE/tmp now. This fixes a problem with update-repository dying out cause of WOK/tmp folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 01:35:37 2011 +0000 (2011-02-19) |
parents | |
children | 23c3aed67cd9 |
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 }