wok annotate sip3/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 2b88f36eab80 |
children |
rev | line source |
---|---|
shann@25782 | 1 # SliTaz package receipt. |
shann@25782 | 2 |
shann@25782 | 3 PACKAGE="sip3" |
shann@25782 | 4 VERSION="4.19.25" |
shann@25782 | 5 CATEGORY="development" |
shann@25782 | 6 SHORT_DESC="C/C++ Bindings Generator for Python v3." |
shann@25782 | 7 MAINTAINER="allan316@gmail.com" |
shann@25782 | 8 LICENSE="GPL2 GPL3" |
shann@25785 | 9 WEB_SITE="https://github.com/Python-SIP/sip" |
shann@25782 | 10 REPOLOGY="python:sip" |
shann@25782 | 11 |
shann@25782 | 12 TARBALL="sip-$VERSION.tar.gz" |
shann@25782 | 13 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL" |
shann@25782 | 14 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL" |
shann@25782 | 15 |
shann@25782 | 16 DEPENDS="gcc-lib-base python3" |
shann@25782 | 17 BUILD_DEPENDS="python3-dev" |
shann@25782 | 18 |
shann@25782 | 19 HOST_ARCH="i486 x86_64" |
shann@25782 | 20 |
shann@25782 | 21 # What is the latest version available today? |
shann@25782 | 22 current_version() |
shann@25782 | 23 { |
shann@25782 | 24 wget -O - $WEB_SITE 2>/dev/null | \ |
shann@25782 | 25 sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q' |
shann@25782 | 26 } |
shann@25782 | 27 |
shann@25782 | 28 # Rules to configure and make the package. |
shann@25782 | 29 compile_rules() |
shann@25782 | 30 { |
shann@25782 | 31 python3 configure.py && |
shann@25782 | 32 make && |
shann@25782 | 33 make install DESTDIR=$DESTDIR |
shann@25782 | 34 |
shann@25782 | 35 # SIP module |
shann@25782 | 36 make clean |
shann@25782 | 37 python3 configure.py \ |
shann@25782 | 38 --sip-module PyQt4.sip \ |
shann@25782 | 39 --no-tools && |
shann@25782 | 40 make && |
shann@25782 | 41 make install DESTDIR=$DESTDIR |
shann@25782 | 42 } |
shann@25782 | 43 |
shann@25782 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25782 | 45 genpkg_rules() |
shann@25782 | 46 { |
shann@25782 | 47 cook_copy_folders bin |
shann@25782 | 48 cook_copy_folders lib |
shann@25782 | 49 } |