wok-next view zbar/receipt @ rev 21498
updated aspell-dicts (0.60.6.1 -> 0.60.8)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 18 21:48:58 2020 +0100 (2020-06-18) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://zbar.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xmlto libx11-dev libxext-dev libxv-dev \
15 libjpeg-turbo-dev imagemagick6-dev gtk2-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's|MagickWand |MagickWand-6 |g' configure # search for MagickWand-6.pc instead
21 ./configure \
22 --without-qt \
23 --without-python \
24 --disable-video \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 zbar)
34 copy @std
35 DEPENDS="gdk-pixbuf glib gtk2 imagemagick6 libjpeg-turbo \
36 libx11 libxv"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="zbar glib-dev gtk2-dev"
41 ;;
42 esac
43 }