wok-6.x annotate qrencode/receipt @ rev 20354
Up e2fsprogs (1.44.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 09 16:13:52 2018 +0200 (2018-06-09) |
parents | dfaf237903f2 |
children | b8aa4027e71d |
rev | line source |
---|---|
pascal@7857 | 1 # SliTaz package receipt. |
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 DEPENDS="libpng" |
pascal@7857 | 14 BUILD_DEPENDS="libpng-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 { |
pascal@7857 | 30 mkdir -p $fs/usr/lib |
pascal@15601 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 32 cp -a $install/usr/lib/lib*so* $fs/usr/lib |
pascal@7857 | 33 } |