wok annotate python-ldap/receipt @ rev 23502
updated python-ldap (2.4.9 -> 3.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 08:15:43 2020 +0100 (2020-04-06) |
parents | 16df76e1fc6a |
children | ba584564da08 |
rev | line source |
---|---|
pascal@3789 | 1 # SliTaz package receipt. |
pascal@3789 | 2 |
pascal@3789 | 3 PACKAGE="python-ldap" |
Hans-G?nter@23502 | 4 VERSION="3.1.0" |
pascal@3789 | 5 CATEGORY="development" |
pascal@3789 | 6 SHORT_DESC="An object-oriented API to access LDAP directory servers." |
pascal@3789 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@23502 | 8 LICENSE="PSL" |
Hans-G?nter@23502 | 9 WEB_SITE="https://www.python-ldap.org/" |
Hans-G?nter@23502 | 10 |
pascal@3789 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23502 | 12 WGET_URL="http://files.pythonhosted.org/packages/source/p/$PACKAGE/$TARBALL" |
pascal@15379 | 13 |
Hans-G?nter@23502 | 14 DEPENDS="cyrus-sasl openldap openssl python" |
Hans-G?nter@23502 | 15 BUILD_DEPENDS="cyrus-sasl-dev openldap-dev openssl-dev python-dev python-setuptools" |
pascal@3789 | 16 |
pascal@3789 | 17 # Rules to configure and make the package. |
pascal@3789 | 18 compile_rules() |
pascal@3789 | 19 { |
Hans-G?nter@23502 | 20 python setup.py build && |
pascal@15379 | 21 python setup.py install --root=$DESTDIR |
pascal@3789 | 22 } |
pascal@3789 | 23 |
pascal@3789 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3789 | 25 genpkg_rules() |
pascal@3789 | 26 { |
pascal@3789 | 27 mkdir -p $fs/usr |
Hans-G?nter@23502 | 28 cp -a $install/usr/lib $fs/usr |
pascal@3789 | 29 } |