wok-4.x rev 10903

Add zbar
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 11:42:09 2011 +0200 (2011-07-21)
parents 61cd3f3b6673
children 1ad8ae5ccf68
files zbar-dev/receipt zbar/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/zbar-dev/receipt	Thu Jul 21 11:42:09 2011 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="zbar-dev"
     1.7 +VERSION="0.10"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Decode barcode & QR code, development code."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://zbar.sourceforge.net/"
    1.12 +WANTED="zbar"
    1.13 +
    1.14 +DEPENDS="zbar"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.17 +genpkg_rules()                                      
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/zbar/receipt	Thu Jul 21 11:42:09 2011 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="zbar"
     2.7 +VERSION="0.10"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="Decode barcode & QR code."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12 +WEB_SITE="http://zbar.sourceforge.net/"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +
    2.15 +DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio"
    2.16 +BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
    2.17 +freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	./configure --prefix=/usr --mandir=/usr/share/man \
    2.24 +		--localstatedir=/var \
    2.25 +		--without-qt \
    2.26 +		--without-python \
    2.27 +	$CONFIGURE_ARGS &&
    2.28 +	make &&
    2.29 +	make DESTDIR=$DESTDIR install
    2.30 +}
    2.31 +
    2.32 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    2.33 +genpkg_rules()                                      
    2.34 +{
    2.35 +	mkdir -p $fs/usr/lib
    2.36 +	cp -a $_pkg/usr/bin $fs/usr
    2.37 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.38 +}