wok-next view zbar/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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 xorg-libX11-dev xorg-libXext-dev xorg-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 xorg-libX11 xorg-libXv"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="zbar glib-dev gtk2-dev"
41 ;;
42 esac
43 }