wok-4.x rev 9463

Up: pyopenssl to 0.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 03 11:28:05 2011 +0000 (2011-04-03)
parents 95ca7b3bc202
children d65df587bc17
files pyopenssl/receipt
line diff
     1.1 --- a/pyopenssl/receipt	Sun Apr 03 11:14:03 2011 +0000
     1.2 +++ b/pyopenssl/receipt	Sun Apr 03 11:28:05 2011 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pyopenssl"
     1.7 -VERSION="0.10"
     1.8 +VERSION="0.11"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="OpenSSL library subset wrapper for python."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  SOURCE="pyOpenSSL"
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://pyopenssl.sourceforge.net/"
    1.15 -WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
    1.16 +WEB_SITE="https://launchpad.net/pyopenssl/"
    1.17 +WGET_URL="http://launchpad.net/$PACKAGE/main/$VERSION/+download/$TARBALL"
    1.18  DEPENDS="python openssl"
    1.19  BUILD_DEPENDS="python python-dev openssl-dev"
    1.20  
    1.21 @@ -16,13 +16,12 @@
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	python setup.py build && python setup.py install --root=$PWD/_pkg
    1.26 +	python setup.py build && python setup.py install --root=$DESTDIR
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	cp -a $_pkg/usr $fs
    1.33 -	find $fs/usr/lib/ -name "*.pyc" -delete
    1.34  }
    1.35