wok-6.x view python-ldap/receipt @ rev 16089
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 16 01:41:19 2014 +0100 (2014-03-16) |
parents | 13ff846c1467 |
children | 16df76e1fc6a |
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 cd $src
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }