Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/libpainter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac17
-rw-r--r--pkgconfig/libpainter-uninstalled.pc.in10
2 files changed, 19 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 3336c1a..dc1bd10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,13 +25,14 @@ fi
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
-AC_CONFIG_FILES([Makefile
- src/Makefile
- include/Makefile
- pkgconfig/Makefile
- tests/Makefile
-])
-
-AC_OUTPUT([pkgconfig/libpainter.pc
+AC_CONFIG_FILES([
+ Makefile
+ include/Makefile
+ pkgconfig/libpainter.pc
+ pkgconfig/libpainter-uninstalled.pc
+ pkgconfig/Makefile
+ src/Makefile
+ tests/Makefile
])
+AC_OUTPUT
diff --git a/pkgconfig/libpainter-uninstalled.pc.in b/pkgconfig/libpainter-uninstalled.pc.in
new file mode 100644
index 0000000..9e4fed9
--- /dev/null
+++ b/pkgconfig/libpainter-uninstalled.pc.in
@@ -0,0 +1,10 @@
+abs_top_srcdir=@abs_top_srcdir@
+abs_top_builddir=@abs_top_builddir@
+includedir=${abs_top_srcdir}/include
+libdir=${abs_top_builddir}/src
+
+Name: libpainter
+Description: Library for manipulating memory bitmaps.
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lpainter
+Cflags: -I${includedir}