wok-current annotate sip/receipt @ rev 25024

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