wok-current diff python-pyexiv2/receipt @ rev 13332

Add python-pyexiv2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 04 16:32:08 2012 +0200 (2012-09-04)
parents
children 0bd7677163aa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pyexiv2/receipt	Tue Sep 04 16:32:08 2012 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-pyexiv2"
     1.7 +VERSION="0.3.2"
     1.8 +SOURCE="pyexiv2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +WEB_SITE="http://tilloy.net/dev/pyexiv2/"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WGET_URL="http://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL"
    1.15 +
    1.16 +DEPENDS="python"
    1.17 +BUILD_DEPENDS="python wget scons"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	scons PREFIX=/usr
    1.24 +	scons -k DESTDIR=$DESTDIR install
    1.25 +return 1
    1.26 +	#./autogen.sh
    1.27 +	./configure \
    1.28 +		--prefix=/usr \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +echo $?
    1.33 +return 1
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	cp -a $install/usr $fs
    1.40 +}