wok-next annotate zbar/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents d5aab818505e
children
rev   line source
pascal@20319 1 # SliTaz package receipt v2.
pascal@10903 2
pascal@10903 3 PACKAGE="zbar"
pascal@10903 4 VERSION="0.10"
pascal@10903 5 CATEGORY="utilities"
al@20851 6 SHORT_DESC="Decode barcode & QR code"
pascal@10903 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
al@20851 9 WEB_SITE="http://zbar.sourceforge.net/"
al@20851 10
pascal@10903 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@10903 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@10903 13
al@21078 14 BUILD_DEPENDS="xmlto libx11-dev libxext-dev libxv-dev \
al@21017 15 libjpeg-turbo-dev imagemagick6-dev gtk2-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@10903 17
al@20851 18 compile_rules() {
al@20851 19 sed -i 's|MagickWand |MagickWand-6 |g' configure # search for MagickWand-6.pc instead
al@20851 20
al@20851 21 ./configure \
pascal@10903 22 --without-qt \
pascal@10903 23 --without-python \
pascal@12562 24 --disable-video \
al@20851 25 $CONFIGURE_ARGS &&
al@20851 26 fix libtool &&
pascal@10903 27 make &&
al@20851 28 make install
pascal@10903 29 }
pascal@10903 30
al@20851 31 genpkg_rules() {
pascal@20319 32 case $PACKAGE in
al@20851 33 zbar)
al@20851 34 copy @std
al@21017 35 DEPENDS="gdk-pixbuf glib gtk2 imagemagick6 libjpeg-turbo \
al@21078 36 libx11 libxv"
al@20851 37 ;;
al@20851 38 *-dev)
al@20851 39 copy @dev
al@21017 40 DEPENDS="zbar glib-dev gtk2-dev"
al@20851 41 ;;
pascal@20319 42 esac
pascal@10903 43 }