wok view sip/receipt @ rev 25788

xgalaga: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 08:52:14 2024 +0000 (2 months ago)
parents 06ab40a45b3e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.19.25" # last version for Python 2
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://github.com/Python-SIP/sip"
10 REPOLOGY="python:sip"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 #WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
14 WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$PACKAGE/$VERSION/$TARBALL"
16 DEPENDS="gcc-lib-base python"
17 BUILD_DEPENDS="python-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/tags 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python configure.py &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_folders lib
39 }