wok annotate python-pyexiv2/receipt @ rev 18812
Add python-docopt
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jan 14 19:25:56 2016 +0000 (2016-01-14) |
parents | 3db1c8820edd |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@13332 | 1 # SliTaz package receipt. |
pascal@13332 | 2 |
pascal@13332 | 3 PACKAGE="python-pyexiv2" |
pascal@13332 | 4 VERSION="0.3.2" |
pascal@13332 | 5 SOURCE="pyexiv2" |
pascal@13332 | 6 CATEGORY="development" |
pascal@13332 | 7 SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata." |
pascal@13332 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
pascal@13332 | 10 WEB_SITE="http://tilloy.net/dev/pyexiv2/" |
pascal@13332 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@13334 | 12 WGET_URL="https://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL" |
pascal@13332 | 13 |
pascal@13335 | 14 DEPENDS="python exiv2 libboost-python" |
pascal@13335 | 15 BUILD_DEPENDS="python wget scons exiv2-dev libboost-python-dev" |
pascal@13332 | 16 |
pascal@13332 | 17 # Rules to configure and make the package. |
pascal@13332 | 18 compile_rules() |
pascal@13332 | 19 { |
pascal@13332 | 20 cd $src |
pascal@13332 | 21 scons PREFIX=/usr |
pascal@13332 | 22 scons -k DESTDIR=$DESTDIR install |
pascal@13332 | 23 } |
pascal@13332 | 24 |
pascal@13332 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13332 | 26 genpkg_rules() |
pascal@13332 | 27 { |
pascal@13332 | 28 cp -a $install/usr $fs |
pascal@13332 | 29 } |