wok view egenix-mx-base/receipt @ rev 24439
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 13 18:01:32 2022 +0000 (2022-02-13) |
parents | dbb60b913b41 |
children | 00e3b45c063b |
line source
1 # SliTaz package receipt.
3 PACKAGE="egenix-mx-base"
4 VERSION="3.2.9"
5 CATEGORY="development"
6 SHORT_DESC="eGenix.com mx Extension series."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL"
9 WEB_SITE="https://www.egenix.com/products/python/mxBase/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.egenix.com/python/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Version: [0-9]/!d;s|.*rsion: ||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }