[Lunar-commits] <moonbase> eigen: Adjusting the BUILD and doing a sedit so its .pc file goes into

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Sep 22 14:33:38 CEST 2010


commit cc841cff209b6700b63ac463fdb09465cd21e170
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Sep 22 08:33:38 2010 -0400

    eigen: Adjusting the BUILD and doing a sedit so its .pc file goes into
    
    /usr/lib/pkgconfig instead of /usr/share/pkgconfig.
---
 libs/eigen/BUILD |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/libs/eigen/BUILD b/libs/eigen/BUILD
index 13a0d34..8413e7e 100644
--- a/libs/eigen/BUILD
+++ b/libs/eigen/BUILD
@@ -1,6 +1,15 @@
 (
 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr/
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  sedit "s:share/pkgconfig:/usr/lib/pkgconfig:g" CMakeLists.txt &&                                                                                                                                                                  
+
+  mkdir $OOSB_DIR  &&                                                                                                                                             
+  cd $OOSB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DCMAKE_BUILD_TYPE=RELEASE             \
+                           $OPTS                                 &&
 
   default_make
 


More information about the Lunar-commits mailing list