[Lunar-commits] <moonbase-other> avogadro: Readding to moonbase.

Dennis Veatch stumbles at lunar-linux.org
Tue Jul 10 20:12:27 CEST 2012


commit f222ff236d99fbe91312c55e40853946a4ff47d4
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Tue, 10 Jul 2012 11:12:27 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/f222ff236d99fbe91312c55e40853946a4ff47d4

avogadro: Readding to moonbase.
---
  science/avogadro/BUILD                                       +20/-0    
  science/avogadro/DEPENDS                                     +6/-0     
  science/avogadro/DETAILS                                     +20/-0    
  3 files changed, 46 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/science/avogadro/BUILD
@@ -0,0 +1,20 @@
+(
+
+  patch_it $SOURCE2 0 &&
+
+  . /etc/profile.d/qt4.rc  &&
+  . /etc/profile.d/kde4.rc &&
+
+  if module_installed Python ; then
+   LIB_VERSION=`lvu version Python| cut -c -3`
+  fi &&
+
+  OPTS="-DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/usr/lib/libpython$LIB_VERSION.so \
+        -DSHARE_INSTALL_PREFIX=/usr/share" &&
+
+  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
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/science/avogadro/DEPENDS
@@ -0,0 +1,6 @@
+depends cmake
+depends glew
+depends qt4
+depends openbabel
+depends boost
+depends eigen2
--- /dev/null
+++ b/science/avogadro/DETAILS
@@ -0,0 +1,20 @@
+          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
+         UPDATED=20110425
+           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