summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-06-19 13:47:02 -0400
committerErik Schnetter <schnetter@gmail.com>2016-06-19 13:47:02 -0400
commitb4da4425ff5b4b1cc064d5ef42a47f4c8db7cee1 (patch)
tree8d45cc9e2ccda3fe2045f73f99e0fa7a2081690b /var
parentfa471a4ed1a4f03099db5d7e5ed7b1a3894dcf2e (diff)
downloadspack-b4da4425ff5b4b1cc064d5ef42a47f4c8db7cee1.tar.gz
spack-b4da4425ff5b4b1cc064d5ef42a47f4c8db7cee1.tar.bz2
spack-b4da4425ff5b4b1cc064d5ef42a47f4c8db7cee1.tar.xz
spack-b4da4425ff5b4b1cc064d5ef42a47f4c8db7cee1.zip
Add header files to lrslib install
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lrslib/Makefile.spack.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lrslib/Makefile.spack.patch b/var/spack/repos/builtin/packages/lrslib/Makefile.spack.patch
index afa1c1af13..d4d5e66528 100644
--- a/var/spack/repos/builtin/packages/lrslib/Makefile.spack.patch
+++ b/var/spack/repos/builtin/packages/lrslib/Makefile.spack.patch
@@ -1,6 +1,6 @@
--- old/Makefile.spack
+++ new/Makefile.spack
-@@ -0,0 +1,54 @@
+@@ -0,0 +1,57 @@
+# Set PREFIX to the install location for both building and installing
+# Set BOOST_PREFIX to the location where BOOST is installed
+# Set GMP_PREFIX to the location where GMP is installed
@@ -42,6 +42,7 @@
+
+install:
+ mkdir -p $(PREFIX)/bin
++ mkdir -p $(PREFIX)/include
+ mkdir -p $(PREFIX)/lib
+ libtool --mode=install cp 2nash $(PREFIX)/bin/2nash
+ libtool --mode=install cp fourier $(PREFIX)/bin/fourier
@@ -52,6 +53,8 @@
+ libtool --mode=install cp redund1 $(PREFIX)/bin/redund1
+ libtool --mode=install cp setnash $(PREFIX)/bin/setnash
+ libtool --mode=install cp setnash2 $(PREFIX)/bin/setnash2
++ libtool --mode=install cp lrsgmp.h $(PREFIX)/include/lrsgmp.h
++ libtool --mode=install cp lrslib.h $(PREFIX)/include/lrslib.h
+ libtool --mode=install cp liblrsgmp.la $(PREFIX)/lib/liblrsgmp.la
+
+.PHONY: all install