Receipt for: python-pyexiv2
source
PACKAGE="python-pyexiv2"
VERSION="0.3.2"
SOURCE="pyexiv2"
CATEGORY="development"
SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://launchpad.net/pyexiv2"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL"
DEPENDS="python exiv2 libboost-python"
BUILD_DEPENDS="python python-setuptools wget scons exiv2-dev libboost-python-dev"
current_version()
{
wget -O - $WEB_SITE 2>/dev/null | \
sed '/Latest version is/!d;s|.*is ||'
}
compile_rules()
{
cd $src
scons PREFIX=/usr
scons -k DESTDIR=$DESTDIR install
}
genpkg_rules()
{
cp -a $install/usr $fs
}