wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="python-pyexiv2"
4 VERSION="0.3.2"
5 SOURCE="pyexiv2"
6 CATEGORY="development"
7 SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://tilloy.net/dev/pyexiv2/"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="http://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python wget scons"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 scons PREFIX=/usr
21 scons -k DESTDIR=$DESTDIR install
22 return 1
23 #./autogen.sh
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 echo $?
30 return 1
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }