[Lunar-commits] <moonbase> avogadro: an new module for the molecular minded ones.
Dennis 'stumbles' Veatch
stumbles at lunar-linux.org
Sat Apr 11 13:10:57 CEST 2009
commit 05b931742218765ffe500ed9066009bbbba8df41
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date: Sat Apr 11 07:10:57 2009 -0400
avogadro: an new module for the molecular minded ones.
Had to put it here, else it would cause kdeedu4 make to bork.
---
science/avogadro/BUILD | 24 ++++++++++++++++++++++++
science/avogadro/DEPENDS | 5 +++++
science/avogadro/DETAILS | 17 +++++++++++++++++
3 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/science/avogadro/BUILD b/science/avogadro/BUILD
new file mode 100644
index 0000000..127388a
--- /dev/null
+++ b/science/avogadro/BUILD
@@ -0,0 +1,24 @@
+(
+
+ . /etc/profile.d/qt4.rc
+ . /etc/profile.d/kde4.rc
+
+ if module_installed Python ; then
+ 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 \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+ default_make
+
+
+) > $C_FIFO 2>&1
diff --git a/science/avogadro/DEPENDS b/science/avogadro/DEPENDS
new file mode 100644
index 0000000..2b2d4cf
--- /dev/null
+++ b/science/avogadro/DEPENDS
@@ -0,0 +1,5 @@
+depends cmake
+depends qt4
+depends openbabel
+depends boost
+depends eigen
diff --git a/science/avogadro/DETAILS b/science/avogadro/DETAILS
new file mode 100644
index 0000000..c8d7704
--- /dev/null
+++ b/science/avogadro/DETAILS
@@ -0,0 +1,17 @@
+ MODULE=avogadro
+ VERSION=0.9.3
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE_URL=$SFORGE_URL/$MODULE
+ SOURCE_VFY=sha1:180460a075238cdc23d2ca3726081fa3839f4a05
+ MODULE_PREFIX=${AVO_INSTALL_DIR:-/opt/lunar/avogadro}
+ WEB_SITE=http://avogadro.openmolecules.net/wiki/Main_Page
+ ENTERED=20090411
+ UPDATED=20090411
+ SHORT="an advanced molecular editor"
+
+cat << EOF
+Avogadro is an advanced molecular editor designed for cross-platform use in
+computational chemistry, molecular modeling, bioinformatics, materials science,
+and related areas. It offers flexible rendering and a powerful plugin
+architecture.
+EOF
More information about the Lunar-commits
mailing list