wok-next rev 7696

Add pysqlite.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 18 10:43:27 2010 +0000 (2010-12-18)
parents 1b686eb2f16f
children aed057989545
files pysqlite/receipt pysqlite/stuff/setup.cfg
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pysqlite/receipt	Sat Dec 18 10:43:27 2010 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pysqlite"
     1.7 +VERSION="2.6.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A Python DB-API 2.0 interface for the SQLite embedded relational database engine."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="python sqlite"
    1.12 +BUILD_DEPENDS="python-dev sqlite-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://code.google.com/p/pysqlite/"
    1.15 +WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	cp ../stuff/setup.cfg .
    1.22 +	python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $_pkg/usr/lib $fs/usr
    1.30 +}
    1.31 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pysqlite/stuff/setup.cfg	Sat Dec 18 10:43:27 2010 +0000
     2.3 @@ -0,0 +1,5 @@
     2.4 +[build_ext]
     2.5 +define=
     2.6 +include_dirs=/usr/include
     2.7 +library_dirs=/usr/lib
     2.8 +libraries=sqlite3