wok-6.x annotate python-pyexiv2/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 8dd8bab3f0ca |
children |
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@20672 | 10 WEB_SITE="https://launchpad.net/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@24434 | 17 # What is the latest version available today? |
pascal@24434 | 18 current_version() |
pascal@24434 | 19 { |
pascal@24434 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 21 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 22 } |
pascal@24434 | 23 |
pascal@13332 | 24 # Rules to configure and make the package. |
pascal@13332 | 25 compile_rules() |
pascal@13332 | 26 { |
pascal@13332 | 27 cd $src |
pascal@13332 | 28 scons PREFIX=/usr |
pascal@13332 | 29 scons -k DESTDIR=$DESTDIR install |
pascal@13332 | 30 } |
pascal@13332 | 31 |
pascal@13332 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13332 | 33 genpkg_rules() |
pascal@13332 | 34 { |
pascal@13332 | 35 cp -a $install/usr $fs |
pascal@13332 | 36 } |