chiark / gitweb /
Provide a pkg-config file for use by separately compiled services.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 18 Mar 2008 20:21:02 +0000 (20:21 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 18 Mar 2008 20:21:02 +0000 (20:21 +0000)
Makefile.am
configure.in
debian/tripe.install
tripe.pc.in [new file with mode: 0644]

index a36bd51..b765226 100644 (file)
@@ -26,6 +26,9 @@
 AUTOMAKE_OPTIONS = foreign
 SUBDIRS = common client server proxy pkstream init doc @DIRS@
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = tripe.pc
+
 EXTRA_DIST = \
        debian/rules debian/control debian/changelog debian/copyright \
        debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm
index 98192db..6beb3b1 100644 (file)
@@ -261,7 +261,7 @@ mdw_DEFINE_PATHS([
   AC_SUBST(initconfig)
 ])
 AC_OUTPUT( \
-       Makefile \
+       Makefile tripe.pc \
        common/Makefile client/Makefile server/Makefile \
        proxy/Makefile pkstream/Makefile \
        doc/Makefile \
index 8812f18..071b76c 100644 (file)
@@ -3,4 +3,5 @@ usr/sbin/tripe
 usr/share/man/man1/tripectl.1
 usr/share/man/man5/tripe-admin.5
 usr/share/man/man8/tripe.8
+usr/lib/pkgconfig/tripe.pc
 etc
diff --git a/tripe.pc.in b/tripe.pc.in
new file mode 100644 (file)
index 0000000..7d32118
--- /dev/null
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+configdir=@configdir@
+socketdir=@socketdir@
+
+Name: TrIPE
+Description: Trivial IP Encryption: a simple, secure, virtual private network
+Version: @VERSION@