aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2006-10-09 10:10:05 +0000
committerJamie Bullock <jamie@postlude.co.uk>2006-10-09 10:10:05 +0000
commit4070357aa6be2ffe14cdb06dc0a311818d29ba64 (patch)
treedd73fbbe883090b283e5f93ab7d63d4ec50a8014
parentc6e4f6421b2a72e33e21b53ee2838532d8958a8d (diff)
downloadLibXtract-4070357aa6be2ffe14cdb06dc0a311818d29ba64.tar.gz
LibXtract-4070357aa6be2ffe14cdb06dc0a311818d29ba64.tar.bz2
LibXtract-4070357aa6be2ffe14cdb06dc0a311818d29ba64.zip
Added pkgconfig support
-rw-r--r--AUTHORS1
-rw-r--r--Makefile.am3
-rw-r--r--configure.in3
-rw-r--r--libxtract.pc.in10
4 files changed, 16 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index e69de29..d56988a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -0,0 +1 @@
+Jamie Bullock <jamie@postlude.co.uk>
diff --git a/Makefile.am b/Makefile.am
index efd2dfb..2bca8d8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,2 +1,5 @@
SUBDIRS = src xtract examples @DOXYGEN@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libxtract.pc
+
diff --git a/configure.in b/configure.in
index ee7998b..1196160 100644
--- a/configure.in
+++ b/configure.in
@@ -169,6 +169,7 @@ AC_SUBST(PD_LDFLAGS)
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)
diff --git a/libxtract.pc.in b/libxtract.pc.in
new file mode 100644
index 0000000..6a1dcfd
--- /dev/null
+++ b/libxtract.pc.in
@@ -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}