wok view zbar/receipt @ rev 16591

slitaz-i18n: encodings are still used in translations and web pages, so add gconv modules to locale packages. Add: full set of locale-xx-extra. Up: all locale-xx, locale-xx-extra, slitaz-i18n, slitaz-i18n-extra (4.2). Up slitaz-tools, slitaz-tools-boxes (5.8.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 06 23:19:04 2014 +0300 (2014-05-06)
parents bf822c13792c
children f4d5cecea268
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://zbar.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio"
14 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
15 freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev util-linux-uuid-dev \
16 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \
17 libtool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --without-qt \
26 --without-python \
27 --disable-video \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }