wok annotate zbar/receipt @ rev 22201
updated xorg-xproto again (7.0.24 -> 7.0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 11:17:07 2019 +0100 (2019-11-11) |
parents | 76b72f1ad63c |
children | 2850fe3df53d |
rev | line source |
---|---|
pascal@10903 | 1 # SliTaz package receipt. |
pascal@10903 | 2 |
pascal@10903 | 3 PACKAGE="zbar" |
pascal@10903 | 4 VERSION="0.10" |
pascal@10903 | 5 CATEGORY="utilities" |
pascal@10903 | 6 SHORT_DESC="Decode barcode & QR code." |
pascal@10903 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@10903 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@10903 | 10 WEB_SITE="http://zbar.sourceforge.net/" |
pascal@10903 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@10903 | 12 |
pascal@10903 | 13 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio" |
pascal@10903 | 14 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \ |
pankso@12481 | 15 freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev util-linux-uuid-dev \ |
pascal@12562 | 16 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \ |
pascal@12562 | 17 libtool" |
pascal@10903 | 18 |
pascal@10903 | 19 # Rules to configure and make the package. |
pascal@10903 | 20 compile_rules() |
pascal@10903 | 21 { |
pascal@21126 | 22 sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c |
pascal@10903 | 23 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10903 | 24 --localstatedir=/var \ |
pascal@10903 | 25 --without-qt \ |
pascal@10903 | 26 --without-python \ |
pascal@12562 | 27 --disable-video \ |
pascal@10903 | 28 $CONFIGURE_ARGS && |
pascal@10903 | 29 make && |
pascal@10903 | 30 make DESTDIR=$DESTDIR install |
pascal@10903 | 31 } |
pascal@10903 | 32 |
pascal@10903 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10903 | 34 genpkg_rules() |
pascal@10903 | 35 { |
pascal@10903 | 36 mkdir -p $fs/usr/lib |
pascal@14996 | 37 cp -a $install/usr/bin $fs/usr |
pascal@14996 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@10903 | 39 } |