wok-current view python-apsw/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | a7f918cb00d1 |
children | 8dd8bab3f0ca |
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 LICENSE="zlib/libpng"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://code.google.com/p/$PACKAGE/"
12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
14 DEPENDS="sqlite"
15 BUILD_DEPENDS="python-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
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 }