wok diff python-pysqlite/receipt @ rev 9051

squid-custom-errors: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:06:52 2011 +0100 (2011-03-04)
parents 63e63926a8ca
children fd0cd02a0549
line diff
     1.1 --- a/python-pysqlite/receipt	Fri Jun 12 22:20:17 2009 +0000
     1.2 +++ b/python-pysqlite/receipt	Fri Mar 04 11:06:52 2011 +0100
     1.3 @@ -2,23 +2,22 @@
     1.4  
     1.5  PACKAGE="python-pysqlite"
     1.6  SOURCE="pysqlite"
     1.7 -VERSION="2.5.1"
     1.8 +VERSION="2.6.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Python interface for the SQLite database"
    1.11  MAINTAINER="sygne@ombres.eu"
    1.12  DEPENDS="sqlite python"
    1.13 -BUILD_DEPENDS="sqlite-dev python-dev"
    1.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://pysqlite.org/"
    1.16 -WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL"
    1.17 +WEB_SITE="http://code.google.com/p/pysqlite/"
    1.18 +WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24  	
    1.25 -	python setup.py build
    1.26 -	python setup.py install --root=$PWD/_pkg
    1.27 +	cp ../stuff/setup.cfg .
    1.28 +	python setup.py install --root=$DESTDIR
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 @@ -28,9 +27,3 @@
    1.33  	cp -a $_pkg/usr/lib $fs/usr
    1.34  	
    1.35  }
    1.36 -
    1.37 -# Remove old package.
    1.38 -post_install()
    1.39 -{
    1.40 -	rm -rf $1/var/lib/tazpkg/installed/pysqlite
    1.41 -}
    1.42 \ No newline at end of file