[Pkg-samba-maint] r1637 - trunk/ldb/debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Tue Nov 27 23:15:19 UTC 2007
Author: ctrlsoft-guest
Date: 2007-11-27 23:15:19 +0000 (Tue, 27 Nov 2007)
New Revision: 1637
Added:
trunk/ldb/debian/python-ldb.install
Modified:
trunk/ldb/debian/control
trunk/ldb/debian/rules
Log:
Package ldb python bindings.
Modified: trunk/ldb/debian/control
===================================================================
--- trunk/ldb/debian/control 2007-11-27 22:39:05 UTC (rev 1636)
+++ trunk/ldb/debian/control 2007-11-27 23:15:19 UTC (rev 1637)
@@ -2,8 +2,8 @@
Section: devel
Priority: optional
Maintainer: Jelmer Vernooij <jelmer at samba.org>
+Build-Depends: debhelper (>> 5.0.0), quilt (>= 0.40), tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1 (>= 1.1.0~), pkg-config, libpopt-dev, docbook-xsl, docbook-xml, xsltproc, python-dev, python-support (>= 0.4), swig
Homepage: http://ldb.samba.org/
-Build-Depends: debhelper (>> 5.0.0), quilt (>= 0.40), tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1 (>= 1.1.0~), pkg-config, libpopt-dev, docbook-xsl, docbook-xml, xsltproc
Standards-Version: 3.7.2
Package: libldb0
@@ -47,3 +47,13 @@
database.
.
This package contains the development files.
+
+Package: python-ldb
+Section: python
+Architecture: any
+Depends: ${python:Depends}, libldb0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Python bindings for LDB
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ This package contains the Python bindings.
Added: trunk/ldb/debian/python-ldb.install
===================================================================
--- trunk/ldb/debian/python-ldb.install (rev 0)
+++ trunk/ldb/debian/python-ldb.install 2007-11-27 23:15:19 UTC (rev 1637)
@@ -0,0 +1 @@
+usr/lib/python*
Modified: trunk/ldb/debian/rules
===================================================================
--- trunk/ldb/debian/rules 2007-11-27 22:39:05 UTC (rev 1636)
+++ trunk/ldb/debian/rules 2007-11-27 23:15:19 UTC (rev 1637)
@@ -21,7 +21,7 @@
build: configure build-stamp
build-stamp:
dh_testdir
- $(MAKE)
+ $(MAKE) all build-python
touch build-stamp
clean: clean-patched unpatch
@@ -38,6 +38,7 @@
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(DESTDIR)
+ ./setup.py install --root=$(DESTDIR)
# Don't install ldbtest
rm -f $(DESTDIR)/usr/bin/ldbtest
ln -s libldb.so.0.9.0 $(DESTDIR)/usr/lib/libldb.so.0
@@ -57,6 +58,7 @@
dh_compress
dh_fixperms
dh_makeshlibs
+ dh_pysupport
dh_installdeb
dh_shlibdeps
dh_gencontrol
More information about the Pkg-samba-maint
mailing list