# SliTaz package receipt. PACKAGE="python-apsw" SOURCE="apsw" VERSION="3.7.16.2-r1" CATEGORY="development" SHORT_DESC="Python wrapper for SQLite." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="zlib/libpng" TARBALL="$SOURCE-$VERSION.zip" WEB_SITE="https://rogerbinns.github.io/apsw/" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$SOURCE/$TARBALL" DEPENDS="sqlite" BUILD_DEPENDS="python-dev sqlite-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/released/!d;s|.*APSW ||;s| released.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }