wok-next view zbar/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | baaa04032e25 |
children | d5aab818505e |
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="zbar-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 }