wok-next view zbar/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }