wok-stable annotate python-pysqlite/receipt @ rev 10477
youtube-dl: Fixed genpkg_rules.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 06:00:18 2011 +0000 (2011-05-25) |
parents | 2f940e4aa32e |
children | ba9765f30d4e |
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 DEPENDS="sqlite python" |
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 |
claudinei@3413 | 14 # Rules to configure and make the package. |
claudinei@3413 | 15 compile_rules() |
claudinei@3413 | 16 { |
claudinei@3413 | 17 cd $src |
claudinei@3413 | 18 |
slaxemulator@9067 | 19 cp $stuff/setup.cfg . |
pascal@9050 | 20 python setup.py install --root=$DESTDIR |
claudinei@3413 | 21 } |
claudinei@3413 | 22 |
claudinei@3413 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 24 genpkg_rules() |
claudinei@3413 | 25 { |
claudinei@3413 | 26 mkdir -p $fs/usr |
claudinei@3413 | 27 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3413 | 28 |
claudinei@3413 | 29 } |