wok-next view python-pysqlite/receipt @ rev 4008
Up: libxcb (1.4) xcb-util (0.3.6) awesome (3.3.3)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Sep 01 20:54:14 2009 +0200 (2009-09-01) |
parents | |
children | 2f940e4aa32e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pysqlite"
4 SOURCE="pysqlite"
5 VERSION="2.5.1"
6 CATEGORY="development"
7 SHORT_DESC="Python interface for the SQLite database"
8 MAINTAINER="sygne@ombres.eu"
9 DEPENDS="sqlite python"
10 BUILD_DEPENDS="sqlite-dev python-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://pysqlite.org/"
13 WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 python setup.py build
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
30 }
32 # Remove old package.
33 post_install()
34 {
35 rm -rf $1/var/lib/tazpkg/installed/pysqlite
36 }