wok view python-ldap/receipt @ rev 11623

amule, emelfm2, fpm2, gcolor2, gftp, grisbi; grsync, htop, hydrogen, kino, lingot, listpatron, lostirc, mitter, mplayer*, notecase, obconf, osmo, sakura, sylpheed, tilda, transmission, xine-ui, xsane: install .desktop file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 24 22:51:41 2012 +0100 (2012-01-24)
parents f3327707164a
children 13ff846c1467
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ldap"
4 VERSION="2.3.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 WEB_SITE="http://www.python-ldap.org/"
10 WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
11 DEPENDS="openldap openssl cyrus-sasl python"
12 BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }