wok-current view python-ldap/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 2a5cc8208d36 |
children | db55df2b4086 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ldap"
4 VERSION="2.4.9"
5 CATEGORY="development"
6 SHORT_DESC="An object-oriented API to access LDAP directory servers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 LICENSE="PSL"
10 WEB_SITE="http://www.python-ldap.org/"
11 WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
13 DEPENDS="openldap openssl cyrus-sasl python"
14 BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }