[fyba] 68/77: Added pkg-config for libfyba
Ruben Undheim
rubund-guest at moszumanska.debian.org
Mon Sep 22 15:11:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository fyba.
commit 3ce601cfa1bb5b0cd7654f09a98440c072f9137d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Fri Sep 5 15:49:23 2014 +0000
Added pkg-config for libfyba
---
Makefile.am | 3 +++
configure.ac | 2 +-
fyba.pc.in | 11 +++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 50ebd01..3897403 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src/GM src/UT src/FYBA doc
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = fyba.pc
diff --git a/configure.ac b/configure.ac
index 5200681..dd99165 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,4 +33,4 @@ AC_FUNC_STRTOD
AC_CHECK_FUNCS([floor getcwd memmove memset mkdir modf pow rmdir sqrt strchr strerror strpbrk strstr strtol strtoul])
AC_OUTPUT
-AC_OUTPUT(Makefile src/GM/Makefile src/UT/Makefile src/FYBA/Makefile doc/Makefile)
+AC_OUTPUT(fyba.pc Makefile src/GM/Makefile src/UT/Makefile src/FYBA/Makefile doc/Makefile)
diff --git a/fyba.pc.in b/fyba.pc.in
new file mode 100644
index 0000000..22251e9
--- /dev/null
+++ b/fyba.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: FYBA library to read and write norwegian geodata standard format SOSI
+Version: @PACKAGE_VERSION@
+Requires:
+Libs: -L${libdir} -lfyba
+Cflags: -I${includedir}/fyba
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fyba.git
More information about the Pkg-grass-devel
mailing list