Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mkubecek:private
fibpp
create-and-install-fibpp.pc-for-pkg-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File create-and-install-fibpp.pc-for-pkg-config.patch of Package fibpp
From 91555e31a87632abff30eaff859c754292b70e5d Mon Sep 17 00:00:00 2001 From: Michal Kubecek <mike@mk-sys.cz> Date: Sun, 11 Nov 2012 22:09:15 +0100 Subject: [PATCH] create and install fibpp.pc for pkg-config --- Makefile.in | 2 ++ configure.in | 2 +- fibpp.pc.in | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 fibpp.pc.in diff --git a/Makefile.in b/Makefile.in index c17c925..149e1ed 100644 --- a/Makefile.in +++ b/Makefile.in @@ -72,6 +72,8 @@ install-files: $(SHLIB) libfibpp.a ln -s libfibpp.so.$(SOVERSION) $(DESTDIR)$(libdir)/libfibpp.so install -d -m 755 $(DESTDIR)$(includedir)/fibpp install -m 644 $(HDRS) $(DESTDIR)$(includedir)/fibpp + install -d -m 755 $(DESTDIR)$(libdir)/pkgconfig + install -m 644 fibpp.pc $(DESTDIR)$(libdir)/pkgconfig install: install-files ldconfig diff --git a/configure.in b/configure.in index bd4ddb9..d055b68 100644 --- a/configure.in +++ b/configure.in @@ -51,5 +51,5 @@ AH_BOTTOM([ #endif /* FIBPP_CONFIG_H */ ]) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile fibpp.pc) diff --git a/fibpp.pc.in b/fibpp.pc.in new file mode 100644 index 0000000..59d3c3b --- /dev/null +++ b/fibpp.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/fibpp + +Name: fibpp +Description: Firebird client library C++ wrapper +Version: @version@ +Cflags: -I${includedir} +Libs: -L${libdir} -lfibpp diff --git a/configure b/configure index bd4ddb9..d055b68 100755 --- a/configure +++ b/configure @@ -4312,7 +4312,7 @@ -ac_config_files="$ac_config_files Makefile" +ac_config_files="$ac_config_files Makefile fibpp.pc" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -5006,6 +5006,7 @@ case $ac_config_target in "ficfg.h") CONFIG_HEADERS="$CONFIG_HEADERS ficfg.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "fibpp.pc") CONFIG_FILES="$CONFIG_FILES fibpp.pc" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac -- 1.7.10.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor