wok view zbar/receipt @ rev 11378
aria2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 09 13:06:05 2011 +0100 (2011-12-09) |
parents | 89825654ab69 |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="zbar"
4 VERSION="0.10"
5 CATEGORY="utilities"
6 SHORT_DESC="Decode barcode & QR code."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://zbar.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio"
13 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
14 freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev util-linux-ng-uuid-dev \
15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 --without-qt \
24 --without-python \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }