wok view zbar/receipt @ rev 24386

updated bozohttpd (20190228 -> 20210227)
author Hans-G?nter Theisgen
date Mon Feb 07 13:22:58 2022 +0100 (2022-02-07)
parents 9392fb0d2cd5
children 8b705f9aa129
line source
1 # SliTaz package receipt.
3 PACKAGE="zbar"
4 VERSION="0.23.1"
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 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c
32 autoreconf -vfi &&
33 ./configure \
34 CC=gcc-83 \
35 CXX=g++-83 \
36 --prefix=/usr \
37 --mandir=/usr/share/man \
38 --localstatedir=/var \
39 --without-qt \
40 --without-python \
41 --disable-video \
42 --disable-doc \
43 $CONFIGURE_ARGS &&
44 make &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 }