wok-next view zbar/receipt @ rev 19507
Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 20 00:33:44 2016 +0200 (2016-11-20) |
parents | bf822c13792c |
children | e70c0b9c5adf |
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 }