wok view python-ldap/receipt @ rev 24950
updated nagios-plugins and nagios-plugins-mysql (2.3.3 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 10:03:51 2022 +0100 (2022-04-23) |
parents | ba584564da08 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ldap"
4 VERSION="3.1.0"
5 CATEGORY="development"
6 SHORT_DESC="An object-oriented API to access LDAP directory servers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL"
9 WEB_SITE="https://www.python-ldap.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/p/$PACKAGE/$TARBALL"
14 DEPENDS="cyrus-sasl openldap openssl python"
15 BUILD_DEPENDS="cyrus-sasl-dev openldap-dev openssl-dev python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/python-ldap/python-ldap/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }