wok-6.x view zbar/receipt @ rev 21498

updated mtpaint (3.44.91 -> 3.49.14)
author Hans-G?nter Theisgen
date Thu May 02 13:38:04 2019 +0100 (2019-05-02)
parents 76b72f1ad63c
children 2850fe3df53d
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 sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c
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 }