wok-next annotate python-apsw/receipt @ rev 14376
move from undigest python-apsw, python-llfuse, python-py, python-pycryptopp, python-pyliblzma, python-pytest, python-unittest2, s3ql
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 18:19:33 2013 +0200 (2013-04-22) |
parents | |
children | fd4f1e692109 |
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@14376 | 9 TARBALL="$SOURCE-$VERSION.zip" |
pascal@14376 | 10 WEB_SITE="http://code.google.com/p/$PACKAGE/" |
pascal@14376 | 11 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" |
pascal@14376 | 12 |
pascal@14376 | 13 DEPENDS="sqlite" |
pascal@14376 | 14 BUILD_DEPENDS="python-dev sqlite-dev" |
pascal@14376 | 15 |
pascal@14376 | 16 # Rules to configure and make the package. |
pascal@14376 | 17 compile_rules() |
pascal@14376 | 18 { |
pascal@14376 | 19 cd $src |
pascal@14376 | 20 python setup.py build && |
pascal@14376 | 21 python setup.py install --root=$DESTDIR |
pascal@14376 | 22 } |
pascal@14376 | 23 |
pascal@14376 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 25 genpkg_rules() |
pascal@14376 | 26 { |
pascal@14376 | 27 cp -a $install/usr $fs |
pascal@14376 | 28 } |