wok-6.x annotate python-pysqlite/receipt @ rev 17897
Add: perltidy
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Apr 02 22:07:09 2015 +0000 (2015-04-02) |
parents | dbebd825d5e8 |
children | 7390f8de9846 |
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 { |
claudinei@3413 | 20 cd $src |
claudinei@3413 | 21 |
slaxemulator@9067 | 22 cp $stuff/setup.cfg . |
pascal@9050 | 23 python setup.py install --root=$DESTDIR |
claudinei@3413 | 24 } |
claudinei@3413 | 25 |
claudinei@3413 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 27 genpkg_rules() |
claudinei@3413 | 28 { |
claudinei@3413 | 29 mkdir -p $fs/usr |
pascal@15093 | 30 cp -a $install/usr/lib $fs/usr |
claudinei@3413 | 31 } |