wok-4.x annotate qrencode/receipt @ rev 9273

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