wok-next view python-pysqlite/receipt @ rev 6733

Up: xorg-xf86-video-intel to 2.13.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 02:07:22 2010 +0000 (2010-10-16)
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 }