changeset 13:582330cfa6e5

Added pkgconfig support
author Jamie Bullock <jamie@postlude.co.uk>
date Mon, 09 Oct 2006 10:10:05 +0000
parents 1aec087ddfca
children 56629cbbb017
files AUTHORS Makefile.am configure.in libxtract.pc.in
diffstat 4 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/AUTHORS	Mon Oct 09 09:22:03 2006 +0000
+++ b/AUTHORS	Mon Oct 09 10:10:05 2006 +0000
@@ -0,0 +1,1 @@
+Jamie Bullock <jamie@postlude.co.uk>
--- a/Makefile.am	Mon Oct 09 09:22:03 2006 +0000
+++ b/Makefile.am	Mon Oct 09 10:10:05 2006 +0000
@@ -1,2 +1,5 @@
 SUBDIRS = src xtract examples @DOXYGEN@
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libxtract.pc
+
--- a/configure.in	Mon Oct 09 09:22:03 2006 +0000
+++ b/configure.in	Mon Oct 09 10:10:05 2006 +0000
@@ -169,6 +169,7 @@
 AC_SUBST(PD_SUFFIX)
 AC_SUBST(PD_SOURCES)
 		
-AC_CONFIG_FILES([doc/documentation.doxygen])
+AC_CONFIG_FILES([doc/documentation.doxygen
+				libxtract.pc])
 
 AC_OUTPUT(Makefile src/Makefile xtract/Makefile doc/Makefile examples/Makefile examples/puredata/Makefile)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libxtract.pc.in	Mon Oct 09 10:10:05 2006 +0000
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libxtract
+Description: A lightweight feature extraction library
+Version: @VERSION@
+Libs: -L${libdir} -lxtract
+Cflags: -I${includedir}