1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Add FFlags, includedir, fix for directories needed for C;
Last-Updated: 2013-06-10
Forwarded: no
--- /dev/null
+++ b/cmor.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+fflags=-I${includedir}
+
+Name: cmor
+Description: Climate Model Output Rewriter library
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lcmor
+CFlags: -I${prefix}/include
+CFlags: -I${includedir} -I${includedir}/cdTime
+Requires: udunits netcdf ossp-uuid
--- a/configure.ac
+++ b/configure.ac
@@ -203,7 +203,7 @@
UUIDFLAGS=""
fi
else
- UUIDLDFLAGS="-luuid"
+ UUIDLDFLAGS="-lossp-uuid"
UUIDFLAGS=""
fi
AC_CHECK_LIB([uuid],[uuid_generate],[],[AC_MSG_ERROR(Could not get a working uuid)],[ ${UUIDFLAGS} ${UUIDLDFLAGS} ])
|