ldb: Install pkg-config file for pyldb.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 23 Oct 2010 18:39:48 +0000 (20:39 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 23 Oct 2010 18:42:04 +0000 (18:42 +0000)
source4/lib/ldb/pyldb.pc.in [new file with mode: 0644]
source4/lib/ldb/wscript

diff --git a/source4/lib/ldb/pyldb.pc.in b/source4/lib/ldb/pyldb.pc.in
new file mode 100644 (file)
index 0000000..4cf5c1a
--- /dev/null
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=@LDB_MODULESDIR@
+
+Name: pyldb
+Description: Python bindings for LDB
+Version: @PACKAGE_VERSION@
+Requires: ldb
+Libs: -L${libdir} -lpyldb-util
+Cflags: -I${includedir}
+URL: http://ldb.samba.org/
index 92f7846145cc821ac3de89491e785ab225a41adb..7a233d4a9dd2977a75ebd2687c3391231176088c 100644 (file)
@@ -107,6 +107,7 @@ def build(bld):
                       source='pyldb_util.c',
                       public_headers='pyldb.h',
                       vnum=VERSION,
+                      pc_files='pyldb.pc',
                       pyext=True)
 
     if not bld.CONFIG_SET('USING_SYSTEM_LDB'):