wok-current view sip/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | a77f941b8df6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.19.25" # last version for Python 2
5 CATEGORY="development"
6 SHORT_DESC="C/C++ Bindings Generator for Python v2 and v3."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
10 REPOLOGY="python:sip"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
14 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$PACKAGE/$VERSION/$TARBALL"
16 DEPENDS="gcc-lib-base python"
17 BUILD_DEPENDS="python-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python configure.py &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_folders lib
39 }