wok-next annotate qrencode/receipt @ rev 19750
Up tazpkg, qrencode.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 08 15:28:55 2017 +0300 (2017-06-08) |
parents | 765ba71df4e0 |
children | dd145c435e4b |
rev | line source |
---|---|
slaxemulator@19740 | 1 # SliTaz package receipt v2. |
pascal@7857 | 2 |
pascal@7857 | 3 PACKAGE="qrencode" |
al@19750 | 4 VERSION="3.4.4" |
pascal@7857 | 5 CATEGORY="misc" |
al@19750 | 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" |
al@19750 | 9 WEB_SITE="https://fukuchi.org/works/qrencode/" |
al@19750 | 10 |
al@19750 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19750 | 12 WGET_URL="https://fukuchi.org/works/qrencode/$TARBALL" |
pascal@15601 | 13 |
pascal@7857 | 14 BUILD_DEPENDS="libpng-dev" |
slaxemulator@19740 | 15 SPLIT="qrencode-dev" |
pascal@7857 | 16 |
pascal@7857 | 17 # Rules to configure and make the package. |
pascal@7857 | 18 compile_rules() |
pascal@7857 | 19 { |
al@19750 | 20 ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install |
pascal@7857 | 21 } |
pascal@7857 | 22 |
pascal@7857 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7857 | 24 genpkg_rules() |
pascal@7857 | 25 { |
slaxemulator@19740 | 26 case $PACKAGE in |
slaxemulator@19740 | 27 qrencode) |
slaxemulator@19740 | 28 copy @std |
slaxemulator@19740 | 29 DEPENDS="libpng" |
slaxemulator@19740 | 30 ;; |
slaxemulator@19740 | 31 qrencode-dev) |
slaxemulator@19740 | 32 copy @dev |
slaxemulator@19740 | 33 DEPENDS="qrencode pkg-config" |
slaxemulator@19740 | 34 ;; |
slaxemulator@19740 | 35 esac |
pascal@7857 | 36 } |