wok annotate python-ldap/receipt @ rev 12171
minicom: simplify receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Mar 22 20:55:40 2012 +0100 (2012-03-22) |
parents | f3327707164a |
children | 13ff846c1467 |
rev | line source |
---|---|
pascal@3789 | 1 # SliTaz package receipt. |
pascal@3789 | 2 |
pascal@3789 | 3 PACKAGE="python-ldap" |
pascal@3789 | 4 VERSION="2.3.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@3789 | 9 WEB_SITE="http://www.python-ldap.org/" |
pascal@3789 | 10 WGET_URL="http://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" |
pascal@5005 | 11 DEPENDS="openldap openssl cyrus-sasl python" |
pascal@11373 | 12 BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev" |
pascal@3789 | 13 |
pascal@3789 | 14 # Rules to configure and make the package. |
pascal@3789 | 15 compile_rules() |
pascal@3789 | 16 { |
pascal@3789 | 17 cd $src |
pascal@3789 | 18 python setup.py build |
pascal@3789 | 19 python setup.py install --root=$PWD/_pkg |
pascal@3789 | 20 } |
pascal@3789 | 21 |
pascal@3789 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3789 | 23 genpkg_rules() |
pascal@3789 | 24 { |
pascal@3789 | 25 mkdir -p $fs/usr |
pascal@3789 | 26 cp -a $_pkg/usr/lib $fs/usr |
pascal@3789 | 27 } |
pascal@3789 | 28 |