wok-current view sip3/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sip3"
4 VERSION="4.19.25"
5 CATEGORY="development"
6 SHORT_DESC="C/C++ Bindings Generator for Python 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="sip-$VERSION.tar.gz"
13 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
14 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL"
16 DEPENDS="gcc-lib-base python3"
17 BUILD_DEPENDS="python3-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 python3 configure.py &&
30 make &&
31 make install DESTDIR=$DESTDIR
33 # SIP module
34 make clean
35 python3 configure.py \
36 --sip-module PyQt4.sip \
37 --no-tools &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders lib
47 }