File libgt-0.3.11.diff of Package libgt

--- configure.ac
+++ configure.ac	2013/04/30 09:21:51
@@ -41,4 +41,6 @@ AC_CHECK_LIB(crypto, SHA256_Init)
 
 # Checks for library functions.
 
+AC_CONFIG_FILES([libgt.pc])
+
 AC_OUTPUT(GNUmakefile src/base/GNUmakefile src/http/GNUmakefile src/png/GNUmakefile doc/GNUmakefile)
--- GNUmakefile.am
+++ GNUmakefile.am	2013/04/30 09:22:25
@@ -34,6 +34,9 @@ AUTOMAKE_OPTIONS = foreign
 
 SUBDIRS = src/base src/http src/png doc
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libgt.pc
+
 dist_doc_DATA = changelog src/*.txt
 
 EXTRA_DIST = changelog *.txt src/*.txt src/*.dox \
--- libgt.pc.in
+++ libgt.pc.in	2013/04/30 09:16:02
@@ -0,0 +1,12 @@
+# Copyright (C) 2013 by Rainer Gerhards
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libgt
+Description: GuardTime API
+Version: @VERSION@
+Libs: -L${libdir} -lgthttp -lgtbase -lcurl -lcrypto -lrt
+Cflags: -I${includedir}
+
openSUSE Build Service is sponsored by