SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-pyexiv2"

# SliTaz package receipt.

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 wget scons exiv2-dev libboost-python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Latest version is/!d;s|.*is ||'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    scons PREFIX=/usr
    scons -k DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)