wok-undigest view python-apsw/receipt @ rev 1003
Add python-py
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 18:07:00 2013 +0200 (2013-04-22) |
parents | 9b4cf8826174 |
children | 88983b4e7e73 |
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 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="http://code.google.com/p/$PACKAGE/"
11 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
13 DEPENDS="sqlite"
14 BUILD_DEPENDS="python-dev sqlite-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py test &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }