wok view sip/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
parents e919c5a2742d
children 06ab40a45b3e
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.19.25"
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 }