wok view zbar/receipt @ rev 13045

pcsxr-svn: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 15 18:25:33 2012 +0200 (2012-06-15)
parents 73641efed1cc
children 76b72f1ad63c
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-uuid-dev \
15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \
16 libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --without-qt \
25 --without-python \
26 --disable-video \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }