wok-6.x view python-pysqlite/receipt @ rev 19989

Add knot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 02 18:38:44 2017 +0200 (2017-07-02)
parents fd4f1e692109
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pysqlite"
4 SOURCE="pysqlite"
5 VERSION="2.6.0"
6 CATEGORY="development"
7 SHORT_DESC="Python interface for the SQLite database"
8 MAINTAINER="sygne@ombres.eu"
9 LICENSE="zlib/libpng"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/pysqlite/"
12 WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
14 DEPENDS="sqlite python"
15 BUILD_DEPENDS="python python-dev sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cp $stuff/setup.cfg .
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }