[Lunar-commits] <moonbase> alliance: Version bump to 5.0-20110203 and a few alterations to the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Jan 6 15:53:22 CET 2012


commit 77137cf01d0436adfa27b829d8a2aae15483685b
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Jan 6 09:53:22 2012 -0500

    alliance: Version bump to 5.0-20110203 and a few alterations to the BUILD.
---
 science/alliance/BUILD                 |   17 +++++++++--------
 science/alliance/DETAILS               |   16 +++++++++-------
 science/alliance/profile.d/alliance.rc |    4 ----
 3 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/science/alliance/BUILD b/science/alliance/BUILD
index e95cc15..e7da751 100644
--- a/science/alliance/BUILD
+++ b/science/alliance/BUILD
@@ -1,15 +1,16 @@
 (
 
+  ALLIANCE_TOP=${MODULE_PREFIX} &&
 
-  # Adds some missing includes that are related to our recent gcc/glibc bump.
-  sed -i "27i #include <string.h>" ocp/src/placer/Ocp.cpp ocp/src/placer/PPlacement.h &&
-  sed -i "28i #include <cstring>" ocp/src/placer/Ocp.cpp ocp/src/placer/PPlacement.h  &&
-  sed -i "29i #include <cstdlib>" ocp/src/placer/Ocp.cpp ocp/src/placer/PPlacement.h  &&
-  
-  ALLIANCE_TOP=/opt/lunar/alliance &&
+  OPTS+=" --prefix=${ALLIANCE_TOP}" &&
 
-  ./configure --prefix=$ALLIANCE_TOP &&
+  default_build &&
 
-  default_make
+  echo "export ALLIANCE_TOP=\"${MODULE_PREFIX}\"" > $SOURCE_DIRECTORY/$MODULE.rc &&
+  echo export PATH=\"'${MODULE_PREFIX}'/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/$MODULE.rc &&
+  echo export LD_LIBRARY_PATH=\"'${MODULE_PREFIX}'/lib:'${LD_LIBRARY_PATH}'\" >> $SOURCE_DIRECTORY/$MODULE.rc &&
+  export MANPATH=\"'${MODULE_PREFIX}'/man:'${MANPATH}'\" >> $SOURCE_DIRECTORY/$MODULE.rc &&
+
+  install -m644 $SOURCE_DIRECTORY/$MODULE.rc /etc/profile.d/
 
 ) > $C_FIFO
diff --git a/science/alliance/DETAILS b/science/alliance/DETAILS
index e7f648e..77450d1 100644
--- a/science/alliance/DETAILS
+++ b/science/alliance/DETAILS
@@ -1,14 +1,16 @@
           MODULE=alliance
-         VERSION=5.0
-         SUB_VER=20090901
-          SOURCE=$MODULE-$VERSION-$SUB_VER.tar.gz
-      SOURCE_URL=http://www-asim.lip6.fr/pub/alliance/distribution/$VERSION/
-      SOURCE_VFY=sha1:f09a4102290225a1fe7c8d49b3c2eee0c06ae916
+         VERSION=5.0-20110203
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://www-asim.lip6.fr/pub/alliance/distribution/${VERSION%-*}/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-${VERSION%-*}
+      SOURCE_VFY=sha1:a1a9f84b5120ea262c989fcf42a6131ee54d5ec7
         WEB_SITE=http://www-asim.lip6.fr/recherche/alliance/
+   MODULE_PREFIX=${ALLIANCE_TOP:-/opt/lunar/$MODULE}
          ENTERED=20030117
-         UPDATED=20090902
+         UPDATED=20120106
            SHORT="Alliance set of free CAD tools"
-           PSAFE=no
+
+PSAFE=no
 cat << EOF
 Alliance  is a complete set of free CAD tools and portable libraries for VLSI
 design. It includes a VHDL compiler and simulator, logic synthesis tools, and
diff --git a/science/alliance/profile.d/alliance.rc b/science/alliance/profile.d/alliance.rc
deleted file mode 100644
index 2408d2a..0000000
--- a/science/alliance/profile.d/alliance.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-export PATH=$PATH:/opt/lunar/alliance/bin
-export MANPATH=$MANPATH:/opt/lunar/alliance/man
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lunar/alliance/lib
-. /etc/profile.d/alc_env.sh


More information about the Lunar-commits mailing list