wok view python-pyexiv2/receipt @ rev 19774
some *-dev depend on pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 15:50:51 2017 +0100 (2017-02-21) |
parents | 3db1c8820edd |
children | 8dd8bab3f0ca |
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 LICENSE="GPL2"
10 WEB_SITE="http://tilloy.net/dev/pyexiv2/"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL"
14 DEPENDS="python exiv2 libboost-python"
15 BUILD_DEPENDS="python wget scons exiv2-dev libboost-python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 scons PREFIX=/usr
22 scons -k DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }