[Lunar-commits] <moonbase> avogadro: Adding a patch to the BUILD to fix a compile failure becuase of the Python bump.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Feb 16 13:17:54 CET 2012
commit 2ad7af519b4c0ec3678f3065d4eac2dfc22bdbc9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Feb 16 07:17:54 2012 -0500
avogadro: Adding a patch to the BUILD to fix a compile failure becuase of the Python bump.
---
science/avogadro/BUILD | 17 +++++------------
science/avogadro/DETAILS | 3 +++
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/science/avogadro/BUILD b/science/avogadro/BUILD
index 8e2680a..6a46800 100644
--- a/science/avogadro/BUILD
+++ b/science/avogadro/BUILD
@@ -1,5 +1,7 @@
(
+ patch_it $SOURCE2 0 &&
+
. /etc/profile.d/qt4.rc &&
. /etc/profile.d/kde4.rc &&
@@ -7,19 +9,10 @@
LIB_VERSION=`lvu version Python| cut -c -3`
fi &&
- AVO_BUILD_DIR="$SOURCE_DIRECTORY/avo-build" &&
-
- mkdir $AVO_BUILD_DIR &&
- cd $AVO_BUILD_DIR &&
-
- OPTS="-DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/usr/lib/libpython$LIB_VERSION.so" &&
-
- cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
- -DSHARE_INSTALL_PREFIX=/usr/share \
- -DCMAKE_BUILD_TYPE=RELEASE \
- $OPTS &&
+ OPTS="-DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/usr/lib/libpython$LIB_VERSION.so \
+ -DSHARE_INSTALL_PREFIX=/usr/share" &&
- default_make &&
+ default_cmake_build &&
sedit "s:Exec=:Exec=$MODULE_PREFIX/bin/:" /usr/share/applications/avogadro.desktop &&
sedit "s:Icon=:Icon=/usr/share/pixmaps/:" /usr/share/applications/avogadro.desktop
diff --git a/science/avogadro/DETAILS b/science/avogadro/DETAILS
index 2d6b90a..c2d46cc 100644
--- a/science/avogadro/DETAILS
+++ b/science/avogadro/DETAILS
@@ -1,8 +1,11 @@
MODULE=avogadro
VERSION=1.0.3
SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE2=avogadro.boost148.patch
SOURCE_URL=$SFORGE_URL/$MODULE
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:ef108a5faacd46d8b7c20edf91f26292eb7da138
+ SOURCE2_VFY=sha1:4b290bbf0fa158992b559384639eb4e2693f1b3a
MODULE_PREFIX=${AVO_INSTALL_DIR:-/usr}
WEB_SITE=http://avogadro.openmolecules.net/wiki/Main_Page
ENTERED=20090411
More information about the Lunar-commits
mailing list