wok-current annotate python-ldap/receipt @ rev 24091
get-pcem-roms: version less
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 17 19:56:00 2021 +0000 (2021-07-17) |
parents | db55df2b4086 |
children | d7522d21c4d3 |
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@23503 | 12 WGET_URL="https://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 } |