wok view zbar/receipt @ rev 22326

updated zbar and zbar-dev (0.10 -> 0.23)
author Hans-G?nter Theisgen
date Fri Nov 15 09:21:05 2019 +0100 (2019-11-15)
parents f4d5cecea268
children 1fc119985c35
line source
1 # SliTaz package receipt.
3 PACKAGE="zbar"
4 VERSION="0.23"
5 CATEGORY="utilities"
6 SHORT_DESC="Decode barcode and QR code."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://github.com/mchehab/zbar"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="atk cairo fontconfig freetype gcc83-lib-base gtk+
15 imagemagick jpeg libgio pango"
16 BUILD_DEPENDS="atk-dev cairo-dev fftw-dev fontconfig-dev freetype-dev
17 gcc83 gdk-pixbuf graphviz-dev gtk+-dev ilmbase-dev imagemagick-dev
18 jpeg-dev lcms-dev libgio-dev libtool libxml2-dev linux-api-headers
19 openexr-dev pango-dev util-linux-uuid-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c
26 autoreconf -vfi &&
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --without-qt \
34 --without-python \
35 --disable-video \
36 --disable-doc \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }