wok annotate pysqlite/receipt @ rev 2953
Fix: Mitter (category)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri May 08 11:59:03 2009 +0000 (2009-05-08) |
parents | |
children |
rev | line source |
---|---|
sygne@1985 | 1 # SliTaz package receipt. |
sygne@1985 | 2 |
sygne@1985 | 3 PACKAGE="pysqlite" |
sygne@1985 | 4 VERSION="2.5.1" |
sygne@1985 | 5 CATEGORY="development" |
sygne@1985 | 6 SHORT_DESC="Python interface for the SQLite database" |
sygne@1985 | 7 MAINTAINER="sygne@ombres.eu" |
sygne@1985 | 8 DEPENDS="sqlite python" |
sygne@1985 | 9 BUILD_DEPENDS="sqlite-dev python-dev" |
sygne@1985 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
sygne@1985 | 11 WEB_SITE="http://pysqlite.org/" |
sygne@1985 | 12 WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL" |
sygne@1985 | 13 |
sygne@1985 | 14 # Rules to configure and make the package. |
sygne@1985 | 15 compile_rules() |
sygne@1985 | 16 { |
sygne@1985 | 17 cd $src |
sygne@1985 | 18 |
sygne@1985 | 19 python setup.py build |
sygne@1985 | 20 python setup.py install --root=$PWD/_pkg |
sygne@1985 | 21 } |
sygne@1985 | 22 |
sygne@1985 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1985 | 24 genpkg_rules() |
sygne@1985 | 25 { |
sygne@1985 | 26 mkdir -p $fs/usr |
sygne@1985 | 27 cp -a $_pkg/usr/lib $fs/usr |
sygne@1985 | 28 |
sygne@1985 | 29 } |
sygne@1985 | 30 |