wok annotate python-apsw/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | 2f230197370e |
children |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-apsw" |
pascal@14376 | 4 SOURCE="apsw" |
pascal@14376 | 5 VERSION="3.7.16.2-r1" |
pascal@14376 | 6 CATEGORY="development" |
pascal@14376 | 7 SHORT_DESC="Python wrapper for SQLite." |
pascal@14376 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="zlib/libpng" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@20672 | 11 WEB_SITE="https://rogerbinns.github.io/apsw/" |
pascal@24979 | 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$SOURCE/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="sqlite" |
pascal@14376 | 15 BUILD_DEPENDS="python-dev sqlite-dev" |
pascal@14376 | 16 |
pascal@24459 | 17 # What is the latest version available today? |
pascal@24459 | 18 current_version() |
pascal@24459 | 19 { |
pascal@24459 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24459 | 21 sed '/released/!d;s|.*APSW ||;s| released.*||;q' |
pascal@24459 | 22 } |
pascal@24459 | 23 |
pascal@14376 | 24 # Rules to configure and make the package. |
pascal@14376 | 25 compile_rules() |
pascal@14376 | 26 { |
pascal@14376 | 27 cd $src |
pascal@14376 | 28 python setup.py build && |
pascal@14376 | 29 python setup.py install --root=$DESTDIR |
pascal@14376 | 30 } |
pascal@14376 | 31 |
pascal@14376 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 33 genpkg_rules() |
pascal@14376 | 34 { |
pascal@14376 | 35 cp -a $install/usr $fs |
pascal@14376 | 36 } |