wok annotate zbar/receipt @ rev 11215
Add from wok-undigest: tslib tslib-dev util-linux-ng-flock swfdec swfdec-dev perl-net-pcap net-tools mspdebug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 17:36:16 2011 +0100 (2011-11-03) |
parents | 89825654ab69 |
children | 73641efed1cc |
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@10903 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@10903 | 9 WEB_SITE="http://zbar.sourceforge.net/" |
pascal@10903 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@10903 | 11 |
pascal@10903 | 12 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio" |
pascal@10903 | 13 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \ |
pascal@10904 | 14 freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev util-linux-ng-uuid-dev \ |
pascal@10904 | 15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev" |
pascal@10903 | 16 |
pascal@10903 | 17 # Rules to configure and make the package. |
pascal@10903 | 18 compile_rules() |
pascal@10903 | 19 { |
pascal@10903 | 20 cd $src |
pascal@10903 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10903 | 22 --localstatedir=/var \ |
pascal@10903 | 23 --without-qt \ |
pascal@10903 | 24 --without-python \ |
pascal@10903 | 25 $CONFIGURE_ARGS && |
pascal@10903 | 26 make && |
pascal@10903 | 27 make DESTDIR=$DESTDIR install |
pascal@10903 | 28 } |
pascal@10903 | 29 |
pascal@10903 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10903 | 31 genpkg_rules() |
pascal@10903 | 32 { |
pascal@10903 | 33 mkdir -p $fs/usr/lib |
pascal@10903 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@10903 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@10903 | 36 } |