wok view sip3/receipt @ rev 25785
Add sip-pyqt and update PyQt-x11-gpl for ffado-mixer
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Sep 24 21:45:20 2024 +0200 (8 weeks ago) |
parents | 2b88f36eab80 |
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://github.com/Python-SIP/sip"
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 HOST_ARCH="i486 x86_64"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 python3 configure.py &&
32 make &&
33 make install DESTDIR=$DESTDIR
35 # SIP module
36 make clean
37 python3 configure.py \
38 --sip-module PyQt4.sip \
39 --no-tools &&
40 make &&
41 make install DESTDIR=$DESTDIR
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders bin
48 cook_copy_folders lib
49 }