wok-next annotate qrencode/receipt @ rev 19740

Up qrencode, quazip, quesoglc, raptor, rarian, reiser4progs to v2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 05 04:58:17 2017 +0000 (2017-06-05)
parents 23c3aed67cd9
children eba665fd3141
rev   line source
slaxemulator@19740 1 # SliTaz package receipt v2.
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@15601 8 LICENSE="LGPL2.1"
pascal@7857 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@7857 10 WEB_SITE="http://megaui.net/fukuchi/works/qrencode/index.en.html"
pascal@7857 11 WGET_URL="http://megaui.net/fukuchi/works/qrencode/$TARBALL"
pascal@15601 12
pascal@7857 13 BUILD_DEPENDS="libpng-dev"
slaxemulator@19740 14 SPLIT="qrencode-dev"
pascal@7857 15
pascal@7857 16 # Rules to configure and make the package.
pascal@7857 17 compile_rules()
pascal@7857 18 {
pascal@7857 19 cd $src
pascal@7857 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@7857 21 --mandir=/usr/share/man \
pascal@7857 22 $CONFIGURE_ARGS &&
pascal@7857 23 make &&
pascal@15601 24 make DESTDIR=$DESTDIR install
pascal@7857 25 }
pascal@7857 26
pascal@7857 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7857 28 genpkg_rules()
pascal@7857 29 {
slaxemulator@19740 30 case $PACKAGE in
slaxemulator@19740 31 qrencode)
slaxemulator@19740 32 copy @std
slaxemulator@19740 33 DEPENDS="libpng"
slaxemulator@19740 34 ;;
slaxemulator@19740 35 qrencode-dev)
slaxemulator@19740 36 copy @dev
slaxemulator@19740 37 DEPENDS="qrencode pkg-config"
slaxemulator@19740 38 ;;
slaxemulator@19740 39 esac
pascal@7857 40 }