wok view sip/receipt @ rev 24603

inxi: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 09:21:45 2022 +0000 (2022-03-02)
parents b1fea658f5c9
children a77f941b8df6
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.19.19"
5 CATEGORY="development"
6 SHORT_DESC="C/C++ Bindings Generator for Python v2 and v3."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
13 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="gcc-lib-base python"
16 BUILD_DEPENDS="python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python configure.py &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 }