# HG changeset patch # User Pascal Bellard # Date 1249137127 -7200 # Node ID f0de2371d9b08b77a4fd867fe4f407d8a605d78a # Parent 83e2c1cabb15e4279668f00e1a001213edd3c818 Add python-ldap diff -r 83e2c1cabb15 -r f0de2371d9b0 python-ldap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ldap/receipt Sat Aug 01 16:32:07 2009 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-ldap" +VERSION="2.3.9" +CATEGORY="development" +SHORT_DESC="An object-oriented API to access LDAP directory servers." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.python-ldap.org/" +WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" +DEPENDS="openldap openssl cyrus-sasl" +BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +