wok-next annotate python-pysqlite/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | 7390f8de9846 |
children | 92698cd69f34 |
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@20098 | 14 DEPENDS="sqlite3 python" |
pascal@20098 | 15 BUILD_DEPENDS="python python-dev sqlite3-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 } |