wok annotate python-ldap/receipt @ rev 15797

Up: clex (4.6.patch6)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 19 14:41:49 2014 +0100 (2014-01-19)
parents 13ff846c1467
children 16df76e1fc6a
rev   line source
pascal@3789 1 # SliTaz package receipt.
pascal@3789 2
pascal@3789 3 PACKAGE="python-ldap"
pascal@12445 4 VERSION="2.4.9"
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"
pascal@3789 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15379 9 LICENSE="PSL"
pascal@3789 10 WEB_SITE="http://www.python-ldap.org/"
pascal@3789 11 WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
pascal@15379 12
pascal@5005 13 DEPENDS="openldap openssl cyrus-sasl python"
pascal@11373 14 BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev"
pascal@3789 15
pascal@3789 16 # Rules to configure and make the package.
pascal@3789 17 compile_rules()
pascal@3789 18 {
pascal@3789 19 cd $src
pascal@3789 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
pascal@15379 28 cp -a $install/usr/lib $fs/usr
pascal@3789 29 }
pascal@3789 30