wok annotate python-pysqlite/receipt @ rev 13371
Up: slitaz-base-files (5.3) - bunch of improvments, thanks Aleksej
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 14 22:30:53 2012 +0200 (2012-09-14) |
parents | fd0cd02a0549 |
children | dbebd825d5e8 |
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" |
claudinei@3413 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9050 | 10 WEB_SITE="http://code.google.com/p/pysqlite/" |
pascal@9050 | 11 WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" |
claudinei@3413 | 12 |
pascal@11856 | 13 DEPENDS="sqlite python" |
pascal@11856 | 14 BUILD_DEPENDS="python python-dev" |
pascal@11856 | 15 |
claudinei@3413 | 16 # Rules to configure and make the package. |
claudinei@3413 | 17 compile_rules() |
claudinei@3413 | 18 { |
claudinei@3413 | 19 cd $src |
claudinei@3413 | 20 |
slaxemulator@9067 | 21 cp $stuff/setup.cfg . |
pascal@9050 | 22 python setup.py install --root=$DESTDIR |
claudinei@3413 | 23 } |
claudinei@3413 | 24 |
claudinei@3413 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 26 genpkg_rules() |
claudinei@3413 | 27 { |
claudinei@3413 | 28 mkdir -p $fs/usr |
claudinei@3413 | 29 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3413 | 30 |
claudinei@3413 | 31 } |