chiark / gitweb /
build-sys: add .pc file for libsystemd-bus
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Nov 2013 02:27:58 +0000 (03:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Nov 2013 02:27:58 +0000 (03:27 +0100)
Makefile.am
src/libsystemd-bus/.gitignore [new file with mode: 0644]
src/libsystemd-bus/libsystemd-bus.pc.in [new file with mode: 0644]

index a49d073..6810cc1 100644 (file)
@@ -1992,7 +1992,11 @@ libsystemd_bus_la_LDFLAGS = \
        -version-info $(LIBSYSTEMD_BUS_CURRENT):$(LIBSYSTEMD_BUS_REVISION):$(LIBSYSTEMD_BUS_AGE) \
        -Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
 
+pkgconfiglib_DATA += \
+       src/libsystemd-bus/libsystemd-bus.pc
+
 EXTRA_DIST += \
+       src/libsystemd-bus/libsystemd-bus.pc.in \
        src/libsystemd-bus/libsystemd-bus.sym
 
 lib_LTLIBRARIES += \
diff --git a/src/libsystemd-bus/.gitignore b/src/libsystemd-bus/.gitignore
new file mode 100644 (file)
index 0000000..5f797a2
--- /dev/null
@@ -0,0 +1 @@
+/libsystemd-bus.pc
diff --git a/src/libsystemd-bus/libsystemd-bus.pc.in b/src/libsystemd-bus/libsystemd-bus.pc.in
new file mode 100644 (file)
index 0000000..7b0feb5
--- /dev/null
@@ -0,0 +1,18 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: systemd
+Description: systemd Bus and Event Loop Library
+URL: @PACKAGE_URL@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lsystemd-bus
+Cflags: -I${includedir}