wok annotate python-pysqlite/receipt @ rev 18256
Up tazpkg(826): fix install .tazpkg files clicking on it
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 04 19:17:34 2015 +0300 (2015-08-04) |
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 } |