ifolder/dev-db/libflaim/files/flaim-pkgconfig-1.patch

48 lines
1.5 KiB
Diff
Raw Normal View History

Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-02-21
Initial Package Version: 4.10_pre1077
Origin: me
Upstream Status: unknown
Description: add pkgconfig file
diff -Naur flaim.orig/Makefile.am flaim/Makefile.am
--- flaim.orig/Makefile.am 2009-02-20 21:33:17.000000000 +0000
+++ flaim/Makefile.am 2009-02-21 09:51:37.765431780 +0000
@@ -6,6 +6,9 @@
doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libflaim.pc
+
rpms srcrpm: dist
$(MAKE) -C obs $(AM_MAKEFLAGS) $@
rpmarch=`rpm --showrc | grep ^build\ arch | sed 's/\(.*: \)\(.*\)/\2/'`; \
diff -Naur flaim.orig/configure.ac flaim/configure.ac
--- flaim.orig/configure.ac 2009-02-20 21:33:17.000000000 +0000
+++ flaim/configure.ac 2009-02-21 09:45:35.994149652 +0000
@@ -157,7 +157,8 @@
obs/Makefile
sample/Makefile
src/Makefile
- util/Makefile])
+ util/Makefile
+ libflaim.pc])
AC_OUTPUT
echo "
diff -Naur flaim.orig/libflaim.pc.in flaim/libflaim.pc.in
--- flaim.orig/libflaim.pc.in 1970-01-01 00:00:00.000000000 +0000
+++ flaim/libflaim.pc.in 2009-02-21 09:50:56.619036687 +0000
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libflaim
+Description: Embeddable cross-platform database engine
+Version: @VERSION@
+Libs: -lpthread -lrt -lstdc++ -ldl -lncurses -lflaim -L${libdir}
+Cflags: -I${includedir}