wok annotate zbar/receipt @ rev 23614
updated redis (2.8.19 -> 5.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 07:29:26 2020 +0100 (2020-04-14) |
parents | 2850fe3df53d |
children | 9392fb0d2cd5 |
rev | line source |
---|---|
pascal@10903 | 1 # SliTaz package receipt. |
pascal@10903 | 2 |
pascal@10903 | 3 PACKAGE="zbar" |
Hans-G?nter@22326 | 4 VERSION="0.23" |
pascal@10903 | 5 CATEGORY="utilities" |
Hans-G?nter@22326 | 6 SHORT_DESC="Decode barcode and QR code." |
pascal@10903 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@22343 | 9 WEB_SITE="https://github.com/mchehab/zbar" |
pascal@10903 | 10 |
Hans-G?nter@22326 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22326 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
Hans-G?nter@22326 | 13 |
Hans-G?nter@22326 | 14 DEPENDS="atk cairo fontconfig freetype gcc83-lib-base gtk+ |
Hans-G?nter@22326 | 15 imagemagick jpeg libgio pango" |
Hans-G?nter@22326 | 16 BUILD_DEPENDS="atk-dev cairo-dev fftw-dev fontconfig-dev freetype-dev |
Hans-G?nter@22326 | 17 gcc83 gdk-pixbuf graphviz-dev gtk+-dev ilmbase-dev imagemagick-dev |
Hans-G?nter@22326 | 18 jpeg-dev lcms-dev libgio-dev libtool libxml2-dev linux-api-headers |
Hans-G?nter@22326 | 19 openexr-dev pango-dev util-linux-uuid-dev" |
pascal@10903 | 20 |
pascal@10903 | 21 # Rules to configure and make the package. |
pascal@10903 | 22 compile_rules() |
pascal@10903 | 23 { |
Hans-G?nter@22326 | 24 # sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c |
Hans-G?nter@22326 | 25 |
Hans-G?nter@22326 | 26 autoreconf -vfi && |
Hans-G?nter@22326 | 27 ./configure \ |
Hans-G?nter@22326 | 28 CC=gcc-83 \ |
Hans-G?nter@22326 | 29 CXX=g++-83 \ |
Hans-G?nter@22326 | 30 --prefix=/usr \ |
Hans-G?nter@22326 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22326 | 32 --localstatedir=/var \ |
Hans-G?nter@22326 | 33 --without-qt \ |
Hans-G?nter@22326 | 34 --without-python \ |
Hans-G?nter@22326 | 35 --disable-video \ |
Hans-G?nter@22326 | 36 --disable-doc \ |
pascal@10903 | 37 $CONFIGURE_ARGS && |
pascal@10903 | 38 make && |
pascal@10903 | 39 make DESTDIR=$DESTDIR install |
pascal@10903 | 40 } |
pascal@10903 | 41 |
pascal@10903 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10903 | 43 genpkg_rules() |
pascal@10903 | 44 { |
pascal@10903 | 45 mkdir -p $fs/usr/lib |
Hans-G?nter@22326 | 46 |
Hans-G?nter@22326 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22326 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@10903 | 49 } |