wok-stable view qrencode/receipt @ rev 12028

915resolution: add cedarview support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 06 21:07:58 2012 +0100 (2012-03-06)
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 }