wok-4.x view python-pysqlite/receipt @ rev 6921
fix vde2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 22 20:31:54 2010 +0200 (2010-10-22) |
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 }