wok-current view python-pyexiv2/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 8dd8bab3f0ca
children
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="https://launchpad.net/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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest version is/!d;s|.*is ||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 scons PREFIX=/usr
29 scons -k DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }