[Lunar-commits] <moonbase> device-mapper: fix missing pkgconfig.pc

Auke Kok sofar at foo-projects.org
Sun Jun 19 00:04:04 CEST 2011


commit c9825f7cbe6ee6c31c425b7e4d9999ff54df99a0
Author: Auke Kok <sofar at foo-projects.org>
Date:   Sun Jun 19 00:04:04 2011 +0200

    device-mapper: fix missing pkgconfig.pc
---
 zdeprecated/device-mapper/BUILD |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/zdeprecated/device-mapper/BUILD b/zdeprecated/device-mapper/BUILD
index e5eb8e6..0550b9d 100644
--- a/zdeprecated/device-mapper/BUILD
+++ b/zdeprecated/device-mapper/BUILD
@@ -9,4 +9,17 @@
                $OPTS                   &&
   default_make
 
+  cat > /usr/lib/pkgconfig/devmapper.pc <<EOF
+prefix=/usr
+exec_prefix=
+libdir=/lib
+includedir=/usr/include
+
+Name: devmapper
+Description: device-mapper library
+Version: $VERSION
+Cflags: -I${includedir} 
+Libs: -L${libdir} -ldevmapper
+EOF
+
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list