wok view sip-pyqt/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
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sip-pyqt"
4 SOURCE="sip"
5 VERSION="4.19.25" # last version for Python 2
6 CATEGORY="development"
7 SHORT_DESC="PyQt sip module."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2 GPL3"
10 WEB_SITE="https://github.com/Python-SIP/sip"
11 REPOLOGY="python:sip"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
15 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$SOURCE/$VERSION/$TARBALL"
17 DEPENDS="gcc-lib-base python"
18 BUILD_DEPENDS="python-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/tags 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python configure.py --sip-module PyQt4.sip --no-tools &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_folders lib
40 }