wok-next view zbar/receipt @ rev 20575

More fix libtool; combine libdbusmenu-gtk*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 01:31:03 2018 +0300 (2018-04-14)
parents 99d1d45ec006
children baaa04032e25
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://zbar.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
14 freetype-dev fontconfig-dev atk-dev gtk+-dev glib-dev util-linux-uuid-dev \
15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \
16 libtool"
17 SPLIT="zbar-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --without-qt \
25 --without-python \
26 --disable-video \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 zbar)
37 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ glib"
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 ;;
42 zbar-dev)
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 cp -a $install/usr/lib/*a $fs/usr/lib
46 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
47 ;;
48 esac
49 }