summaryrefslogtreecommitdiff
path: root/lapack.pc.in
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2016-10-05 22:36:01 -0500
committerKyle Guinn <elyk03@gmail.com>2016-10-05 22:36:01 -0500
commit58879a48fcb0a059ee96753fc6cc6341448a0015 (patch)
tree6cf90be5878d8c17ca9f688d08379199d42f8ade /lapack.pc.in
parent3bab67b085bbfc57f6152a6a6741d3330b172cc0 (diff)
downloadlapack-58879a48fcb0a059ee96753fc6cc6341448a0015.tar.gz
lapack-58879a48fcb0a059ee96753fc6cc6341448a0015.tar.bz2
lapack-58879a48fcb0a059ee96753fc6cc6341448a0015.zip
Improve pkgconfig file generation
The prefix and libdir lines at the top of the .pc files are variable declarations. Set these variables appropriately, reference them in the rest of the file, and prevent cmake from expanding ${}-style references. Switch back to @prefix@ and @libdir@ for compatibility with autoconf. Make the descriptions consistent and update the URLs.
Diffstat (limited to 'lapack.pc.in')
-rw-r--r--lapack.pc.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/lapack.pc.in b/lapack.pc.in
index 4d4fe013..878efc2e 100644
--- a/lapack.pc.in
+++ b/lapack.pc.in
@@ -1,9 +1,9 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+prefix=@prefix@
+libdir=@libdir@
-Name: lapack
+Name: LAPACK
Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
Version: @LAPACK_VERSION@
URL: http://www.netlib.org/lapack/
-Libs: -L@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -llapack
+Libs: -L${libdir} -llapack
Requires: blas