wok-6.x annotate 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 |
rev | line source |
---|---|
claudinei@3413 | 1 # SliTaz package receipt. |
claudinei@3413 | 2 |
claudinei@3413 | 3 PACKAGE="python-pysqlite" |
claudinei@3413 | 4 SOURCE="pysqlite" |
pascal@9050 | 5 VERSION="2.6.0" |
claudinei@3413 | 6 CATEGORY="development" |
claudinei@3413 | 7 SHORT_DESC="Python interface for the SQLite database" |
claudinei@3413 | 8 MAINTAINER="sygne@ombres.eu" |
pascal@15378 | 9 LICENSE="zlib/libpng" |
claudinei@3413 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9050 | 11 WEB_SITE="http://code.google.com/p/pysqlite/" |
pascal@9050 | 12 WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" |
claudinei@3413 | 13 |
pascal@11856 | 14 DEPENDS="sqlite python" |
pascal@15093 | 15 BUILD_DEPENDS="python python-dev sqlite-dev" |
pascal@11856 | 16 |
claudinei@3413 | 17 # Rules to configure and make the package. |
claudinei@3413 | 18 compile_rules() |
claudinei@3413 | 19 { |
slaxemulator@9067 | 20 cp $stuff/setup.cfg . |
pascal@9050 | 21 python setup.py install --root=$DESTDIR |
claudinei@3413 | 22 } |
claudinei@3413 | 23 |
claudinei@3413 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 25 genpkg_rules() |
claudinei@3413 | 26 { |
claudinei@3413 | 27 mkdir -p $fs/usr |
pascal@15093 | 28 cp -a $install/usr/lib $fs/usr |
claudinei@3413 | 29 } |