wok annotate mysql-python/receipt @ rev 3049

Add wesnoth (thanks mimas)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 10:29:14 2009 +0200 (2009-05-13)
parents
children
rev   line source
claudinei@2922 1 # SliTaz package receipt.
claudinei@2922 2
claudinei@2922 3 PACKAGE="mysql-python"
claudinei@2922 4 SOURCE="MySQL-python"
claudinei@2922 5 VERSION="1.2.2"
claudinei@2922 6 CATEGORY="development"
claudinei@2922 7 SHORT_DESC="A Python interface to MySQL ."
claudinei@2922 8 MAINTAINER="claudinei@slitaz.org"
claudinei@2922 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@2922 10 WEB_SITE="http://mysql-python.sourceforge.net/"
claudinei@2922 11 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
claudinei@2922 12 DEPENDS="python mysql zlib openssl"
claudinei@2922 13 BUILD_DEPENDS="python-dev mysql-dev zlib-dev openssl-dev"
claudinei@2922 14
claudinei@2922 15 # Rules to configure and make the package.
claudinei@2922 16 compile_rules()
claudinei@2922 17 {
claudinei@2922 18 cd $src
claudinei@2922 19 sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg
claudinei@2922 20 python setup.py build
claudinei@2922 21 python setup.py install --root=$PWD/_pkg
claudinei@2922 22 }
claudinei@2922 23
claudinei@2922 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@2922 25 genpkg_rules()
claudinei@2922 26 {
claudinei@2922 27 mkdir -p $fs/usr
claudinei@2922 28 cp -a $_pkg/usr/lib $fs/usr
claudinei@2922 29 }
claudinei@2922 30