wok-current annotate python-pysqlite/receipt @ rev 4537
Add ftjam
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Nov 30 10:45:08 2009 +0000 (2009-11-30) |
parents | |
children | 2f940e4aa32e |
rev | line source |
---|---|
claudinei@3413 | 1 # SliTaz package receipt. |
claudinei@3413 | 2 |
claudinei@3413 | 3 PACKAGE="python-pysqlite" |
claudinei@3413 | 4 SOURCE="pysqlite" |
claudinei@3413 | 5 VERSION="2.5.1" |
claudinei@3413 | 6 CATEGORY="development" |
claudinei@3413 | 7 SHORT_DESC="Python interface for the SQLite database" |
claudinei@3413 | 8 MAINTAINER="sygne@ombres.eu" |
claudinei@3413 | 9 DEPENDS="sqlite python" |
claudinei@3413 | 10 BUILD_DEPENDS="sqlite-dev python-dev" |
claudinei@3413 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3413 | 12 WEB_SITE="http://pysqlite.org/" |
claudinei@3413 | 13 WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL" |
claudinei@3413 | 14 |
claudinei@3413 | 15 # Rules to configure and make the package. |
claudinei@3413 | 16 compile_rules() |
claudinei@3413 | 17 { |
claudinei@3413 | 18 cd $src |
claudinei@3413 | 19 |
claudinei@3413 | 20 python setup.py build |
claudinei@3413 | 21 python setup.py install --root=$PWD/_pkg |
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 |
claudinei@3413 | 28 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3413 | 29 |
claudinei@3413 | 30 } |
claudinei@3413 | 31 |
claudinei@3413 | 32 # Remove old package. |
claudinei@3413 | 33 post_install() |
claudinei@3413 | 34 { |
claudinei@3413 | 35 rm -rf $1/var/lib/tazpkg/installed/pysqlite |
claudinei@3413 | 36 } |