wok-current view zbar/receipt @ rev 23031

updated libgcrypt and libgcrypt-dev (1.8.4 -> 1.8.5)
author Hans-G?nter Theisgen
date Tue Mar 03 17:21:19 2020 +0100 (2020-03-03)
parents 2850fe3df53d
children 9392fb0d2cd5
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="https://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 }