wok-6.x diff python-ldap/receipt @ rev 15805

bash: prevent rm .bashrc error when removing bash
author Richard Dunbar <mojo@slitaz.org>
date Thu Jan 23 13:38:58 2014 +0000 (2014-01-23)
parents 13ff846c1467
children 16df76e1fc6a
line diff
     1.1 --- a/python-ldap/receipt	Sat Apr 21 18:47:38 2012 +0200
     1.2 +++ b/python-ldap/receipt	Thu Jan 23 13:38:58 2014 +0000
     1.3 @@ -6,8 +6,10 @@
     1.4  SHORT_DESC="An object-oriented API to access LDAP directory servers."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 +LICENSE="PSL"
     1.8  WEB_SITE="http://www.python-ldap.org/"
     1.9  WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
    1.10 +
    1.11  DEPENDS="openldap openssl cyrus-sasl python"
    1.12  BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev"
    1.13  
    1.14 @@ -16,13 +18,13 @@
    1.15  {
    1.16  	cd $src
    1.17  	python setup.py build
    1.18 -	python setup.py install --root=$PWD/_pkg
    1.19 +	python setup.py install --root=$DESTDIR
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr
    1.26 -	cp -a $_pkg/usr/lib $fs/usr
    1.27 +	cp -a $install/usr/lib $fs/usr
    1.28  }
    1.29