wok-current annotate sip3/receipt @ rev 25634
Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jan 14 08:12:37 2024 +0000 (8 months ago) |
parents | |
children |
rev | line source |
---|---|
shann@25634 | 1 # SliTaz package receipt. |
shann@25634 | 2 |
shann@25634 | 3 PACKAGE="sip3" |
shann@25634 | 4 VERSION="4.19.25" |
shann@25634 | 5 CATEGORY="development" |
shann@25634 | 6 SHORT_DESC="C/C++ Bindings Generator for Python v3." |
shann@25634 | 7 MAINTAINER="allan316@gmail.com" |
shann@25634 | 8 LICENSE="GPL2 GPL3" |
shann@25634 | 9 WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro" |
shann@25634 | 10 REPOLOGY="python:sip" |
shann@25634 | 11 |
shann@25634 | 12 TARBALL="sip-$VERSION.tar.gz" |
shann@25634 | 13 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL" |
shann@25634 | 14 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL" |
shann@25634 | 15 |
shann@25634 | 16 DEPENDS="gcc-lib-base python3" |
shann@25634 | 17 BUILD_DEPENDS="python3-dev" |
shann@25634 | 18 |
shann@25634 | 19 # What is the latest version available today? |
shann@25634 | 20 current_version() |
shann@25634 | 21 { |
shann@25634 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
shann@25634 | 23 sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q' |
shann@25634 | 24 } |
shann@25634 | 25 |
shann@25634 | 26 # Rules to configure and make the package. |
shann@25634 | 27 compile_rules() |
shann@25634 | 28 { |
shann@25634 | 29 python3 configure.py && |
shann@25634 | 30 make && |
shann@25634 | 31 make install DESTDIR=$DESTDIR |
shann@25634 | 32 |
shann@25634 | 33 # SIP module |
shann@25634 | 34 make clean |
shann@25634 | 35 python3 configure.py \ |
shann@25634 | 36 --sip-module PyQt4.sip \ |
shann@25634 | 37 --no-tools && |
shann@25634 | 38 make && |
shann@25634 | 39 make install DESTDIR=$DESTDIR |
shann@25634 | 40 } |
shann@25634 | 41 |
shann@25634 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25634 | 43 genpkg_rules() |
shann@25634 | 44 { |
shann@25634 | 45 cook_copy_folders bin |
shann@25634 | 46 cook_copy_folders lib |
shann@25634 | 47 } |