wok-next annotate pysqlite/receipt @ rev 7827
remind: add post install
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 26 20:04:30 2010 +0000 (2010-12-26) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@7696 | 1 # SliTaz package receipt. |
slaxemulator@7696 | 2 |
slaxemulator@7696 | 3 PACKAGE="pysqlite" |
slaxemulator@7696 | 4 VERSION="2.6.0" |
slaxemulator@7696 | 5 CATEGORY="development" |
slaxemulator@7696 | 6 SHORT_DESC="A Python DB-API 2.0 interface for the SQLite embedded relational database engine." |
slaxemulator@7696 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7696 | 8 DEPENDS="python sqlite" |
slaxemulator@7696 | 9 BUILD_DEPENDS="python-dev sqlite-dev" |
slaxemulator@7696 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7696 | 11 WEB_SITE="http://code.google.com/p/pysqlite/" |
slaxemulator@7696 | 12 WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" |
slaxemulator@7696 | 13 |
slaxemulator@7696 | 14 # Rules to configure and make the package. |
slaxemulator@7696 | 15 compile_rules() |
slaxemulator@7696 | 16 { |
slaxemulator@7696 | 17 cd $src |
slaxemulator@7696 | 18 cp ../stuff/setup.cfg . |
slaxemulator@7696 | 19 python setup.py install --root=$PWD/_pkg |
slaxemulator@7696 | 20 } |
slaxemulator@7696 | 21 |
slaxemulator@7696 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7696 | 23 genpkg_rules() |
slaxemulator@7696 | 24 { |
slaxemulator@7696 | 25 mkdir -p $fs/usr |
slaxemulator@7696 | 26 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7696 | 27 } |
slaxemulator@7696 | 28 |