wok-current view python-apsw/receipt @ rev 24827

updated libsigsegv (2.12 -> 2.14)
author Hans-G?nter Theisgen
date Wed Mar 23 17:25:49 2022 +0100 (2022-03-23)
parents 8dd8bab3f0ca
children d765616e1f3d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-apsw"
4 SOURCE="apsw"
5 VERSION="3.7.16.2-r1"
6 CATEGORY="development"
7 SHORT_DESC="Python wrapper for SQLite."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="zlib/libpng"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://rogerbinns.github.io/apsw/"
12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
14 DEPENDS="sqlite"
15 BUILD_DEPENDS="python-dev sqlite-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/released/!d;s|.*APSW ||;s| released.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }