wok annotate qrencode/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | b8aa4027e71d |
children | 5ea0ce1cecc0 |
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@7857 | 17 # Rules to configure and make the package. |
pascal@7857 | 18 compile_rules() |
pascal@7857 | 19 { |
Hans-G?nter@21745 | 20 ./autogen.sh && |
Hans-G?nter@21745 | 21 ./configure \ |
Hans-G?nter@21745 | 22 --prefix=/usr \ |
Hans-G?nter@21745 | 23 --infodir=/usr/share/info \ |
Hans-G?nter@21745 | 24 --mandir=/usr/share/man \ |
Hans-G?nter@21745 | 25 $CONFIGURE_ARGS && |
pascal@7857 | 26 make && |
pascal@15601 | 27 make DESTDIR=$DESTDIR install |
pascal@7857 | 28 } |
pascal@7857 | 29 |
pascal@7857 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7857 | 31 genpkg_rules() |
pascal@7857 | 32 { |
pascal@7857 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@21745 | 34 |
Hans-G?nter@21745 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21745 | 36 cp -a $install/usr/lib/lib*so* $fs/usr/lib |
pascal@7857 | 37 } |