wok-current view python-apsw/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | |
children | fd4f1e692109 |
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 install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }