wok diff zbar/receipt @ rev 10903
Add zbar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 21 11:42:09 2011 +0200 (2011-07-21) |
parents | |
children | 1ad8ae5ccf68 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zbar/receipt Thu Jul 21 11:42:09 2011 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zbar" 1.7 +VERSION="0.10" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Decode barcode & QR code." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://zbar.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio" 1.16 +BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \ 1.17 +freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr --mandir=/usr/share/man \ 1.24 + --localstatedir=/var \ 1.25 + --without-qt \ 1.26 + --without-python \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && 1.29 + make DESTDIR=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.38 +}