wok annotate egenix-mx-base/receipt @ rev 25084

updated p4wn (1.0 -> 2.01)
author Hans-G?nter Theisgen
date Wed Jun 15 17:34:03 2022 +0100 (2022-06-15)
parents bfabe25c21ff
children
rev   line source
pascal@1235 1 # SliTaz package receipt.
pascal@1235 2
pascal@1235 3 PACKAGE="egenix-mx-base"
Hans-G?nter@20870 4 VERSION="3.2.9"
pascal@1235 5 CATEGORY="development"
pascal@1235 6 SHORT_DESC="eGenix.com mx Extension series."
pascal@1235 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15588 8 LICENSE="PSL"
Hans-G?nter@20870 9 WEB_SITE="https://www.egenix.com/products/python/mxBase/"
Hans-G?nter@20870 10
pascal@1235 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24978 12 WGET_URL="https://downloads.egenix.com/python/$TARBALL"
pascal@15588 13
pascal@1235 14 DEPENDS="python"
pascal@1235 15 BUILD_DEPENDS="python python-dev"
pascal@1235 16
pascal@24439 17 # What is the latest version available today?
pascal@24439 18 current_version()
pascal@24439 19 {
pascal@24439 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24439 21 sed '/Version: [0-9]/!d;s|.*rsion: ||;q'
pascal@24439 22 }
pascal@24439 23
pascal@1235 24 # Rules to configure and make the package.
pascal@1235 25 compile_rules()
pascal@1235 26 {
pascal@15588 27 python setup.py install --root=$DESTDIR
pascal@1235 28 }
pascal@1235 29
pascal@1235 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1235 31 genpkg_rules()
pascal@1235 32 {
pascal@15588 33 cp -a $install/usr $fs
pascal@1235 34 }