wok-6.x view python-ldap/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 2a5cc8208d36
children db55df2b4086
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 python setup.py build
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }