wok annotate qrencode/receipt @ rev 25075

created recipe for alsa-ucm-conf
author Hans-G?nter Theisgen
date Tue Jun 14 07:07:03 2022 +0100 (2022-06-14)
parents 41fed2f82beb
children d9e054b0d4b3
rev   line source
pascal@7857 1 # SliTaz package receipt.
pascal@7857 2
pascal@7857 3 PACKAGE="qrencode"
Hans-G?nter@21745 4 VERSION="4.0.2"
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"
Hans-G?nter@21745 9 WEB_SITE="https://github.com/fukuchi/libqrencode"
Hans-G?nter@21745 10
pascal@7857 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21745 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@15601 13
pascal@7857 14 DEPENDS="libpng"
Hans-G?nter@21746 15 BUILD_DEPENDS="automake libpng-dev libtool"
pascal@7857 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@7857 23 # Rules to configure and make the package.
pascal@7857 24 compile_rules()
pascal@7857 25 {
Hans-G?nter@21745 26 ./autogen.sh &&
Hans-G?nter@21745 27 ./configure \
Hans-G?nter@21745 28 --prefix=/usr \
Hans-G?nter@21745 29 --infodir=/usr/share/info \
Hans-G?nter@21745 30 --mandir=/usr/share/man \
Hans-G?nter@21745 31 $CONFIGURE_ARGS &&
pascal@7857 32 make &&
pascal@15601 33 make DESTDIR=$DESTDIR install
pascal@7857 34 }
pascal@7857 35
pascal@7857 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7857 37 genpkg_rules()
pascal@7857 38 {
pascal@7857 39 mkdir -p $fs/usr/lib
Hans-G?nter@21745 40
Hans-G?nter@21745 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21745 42 cp -a $install/usr/lib/lib*so* $fs/usr/lib
pascal@7857 43 }