wok view python-apsw/receipt @ rev 24979

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 20:53:56 2022 +0000 (24 months ago)
parents 2f230197370e
children
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$SOURCE/$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 }