wok view sip-pyqt/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
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 }