summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-11 08:44:21 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-11 08:44:21 +0100
commita55a82212421c1f1ce09762cc38bbfcbf177379b (patch)
tree6df6991bea1f4731e48a35776484ee3c7e29550f
parent8e75f60947de2f955540cd113df3bfa061c3469f (diff)
downloadlibrcd-a55a82212421c1f1ce09762cc38bbfcbf177379b.tar.gz
librcd-a55a82212421c1f1ce09762cc38bbfcbf177379b.tar.bz2
librcd-a55a82212421c1f1ce09762cc38bbfcbf177379b.tar.xz
librcd-a55a82212421c1f1ce09762cc38bbfcbf177379b.zip
pkgconfig
-rw-r--r--.bzrignore1
-rw-r--r--Makefile.am4
-rw-r--r--configure.in2
-rw-r--r--librcd.pc.in11
4 files changed, 17 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
index 6113eab..ebe7c50 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -27,3 +27,4 @@ example
CMakeFiles
CMakeCache.txt
cmake_install.cmake
+librcd.pc
diff --git a/Makefile.am b/Makefile.am
index b3b05b2..16a63fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,7 @@
SUBDIRS = src
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = librcd.pc
+
+
EXTRA_DIST = examples statgen librcd.spec \ No newline at end of file
diff --git a/configure.in b/configure.in
index 0940012..9e51720 100644
--- a/configure.in
+++ b/configure.in
@@ -45,4 +45,4 @@ AC_C_CONST
dnl Checks for library functions.
-AC_OUTPUT(src/Makefile examples/Makefile statgen/Makefile Makefile librcd.spec)
+AC_OUTPUT(src/Makefile examples/Makefile statgen/Makefile Makefile librcd.spec librcd.pc)
diff --git a/librcd.pc.in b/librcd.pc.in
new file mode 100644
index 0000000..0bcd5ad
--- /dev/null
+++ b/librcd.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: librcd
+Description: Encoding Detection Library
+Requires:
+Version: @VERSION@
+Libs: -L${libdir} -lrcd
+Cflags: -I${includedir}