wok view zbar/receipt @ rev 12484

Add kmod (modules-init-tools replacement) now needed by udev
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 18:12:59 2012 +0200 (2012-04-23)
parents 1ad8ae5ccf68
children bf822c13792c
line source
1 # SliTaz package receipt.
3 PACKAGE="zbar"
4 VERSION="0.10"
5 CATEGORY="utilities"
6 SHORT_DESC="Decode barcode & QR code."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://zbar.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio"
13 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
14 freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev util-linux-uuid-dev \
15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 --without-qt \
24 --without-python \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }