wok-next annotate qrencode/receipt @ rev 21038

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 08 15:34:32 2018 +0200 (2018-11-08)
parents 10df65db91ad
children 5669e8b3be70
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
al@20454 14 BUILD_DEPENDS="libpng16-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@7857 16
al@20604 17 compile_rules() {
al@20604 18 ./configure $CONFIGURE_ARGS &&
al@20604 19 fix libtool &&
al@20604 20 make &&
al@21020 21 make DESTDIR=$install install
pascal@7857 22 }
pascal@7857 23
al@20604 24 genpkg_rules() {
slaxemulator@19740 25 case $PACKAGE in
slaxemulator@19740 26 qrencode)
slaxemulator@19740 27 copy @std
al@20454 28 DEPENDS="libpng16"
slaxemulator@19740 29 ;;
slaxemulator@19740 30 qrencode-dev)
slaxemulator@19740 31 copy @dev
slaxemulator@19740 32 ;;
slaxemulator@19740 33 esac
pascal@7857 34 }