# HG changeset patch # User Pascal Bellard # Date 1311241329 -7200 # Node ID 89825654ab6918143c5a09278197209d3372f137 # Parent 61cd3f3b6673d5ddecdb5b491dbf3bec24b28ab0 Add zbar diff -r 61cd3f3b6673 -r 89825654ab69 zbar-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zbar-dev/receipt Thu Jul 21 11:42:09 2011 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="zbar-dev" +VERSION="0.10" +CATEGORY="development" +SHORT_DESC="Decode barcode & QR code, development code." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://zbar.sourceforge.net/" +WANTED="zbar" + +DEPENDS="zbar" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} diff -r 61cd3f3b6673 -r 89825654ab69 zbar/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zbar/receipt Thu Jul 21 11:42:09 2011 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="zbar" +VERSION="0.10" +CATEGORY="utilities" +SHORT_DESC="Decode barcode & QR code." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://zbar.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ libgio" +BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \ +freetype-dev fontconfig-dev atk-dev gtk+-dev libgio-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + --localstatedir=/var \ + --without-qt \ + --without-python \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}