From e01cf15ec42c66d1bccfa75517fc45770b5bddee Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 6 Mar 2015 12:48:54 +0000 Subject: [PATCH] Added performance/maqao --- packages/performance/maqao/maqao_any | 43 ++++++++++++++++++++++++++++ python_install.sh | 16 +++++------ 2 files changed, 51 insertions(+), 8 deletions(-) create mode 100755 packages/performance/maqao/maqao_any diff --git a/packages/performance/maqao/maqao_any b/packages/performance/maqao/maqao_any new file mode 100755 index 0000000..fe6dd81 --- /dev/null +++ b/packages/performance/maqao/maqao_any @@ -0,0 +1,43 @@ +#!/bin/sh +# sit class file +# +# Jose Gracia, HLRS (2015) + +CATEGORY="performance" +PACKAGE="maqao" +VERSION=${VERSION:="2.2.0-rc1"} +URL="http://www.maqao.org/" +INSTALLER="Jose Gracia " + + +# Archive A and package name P +A="${PACKAGE}-${VERSION}.tar.gz" +P="${PACKAGE}-${VERSION}" + + +# MAQAO is a binary package currently +binary_only=${binary_only:=1} + + +# binary install +if [ $binary_only != 0 ] ; then + sit_configure () { + /bin/true + } + + sit_build () { + /bin/true + } + + sit_install () { + echo "SRCDIR:" ${SRCDIR} + echo "PREFIX:" ${PREFIX} + mkdir -p ${PREFIX} + ls -l ${PREFIX} + + cp -a ${SRCDIR}/* ${PREFIX} + } +else + sit_fail "Only binary install is supoorted currently." +fi + diff --git a/python_install.sh b/python_install.sh index 52386d8..3632bb0 100755 --- a/python_install.sh +++ b/python_install.sh @@ -19,13 +19,13 @@ export WORKDIR_BASE=${HOME}/work PYTHON_VERSION=2.7.1 SETUPTOOLS_VERSION=0.6c11 CAIRO_VERSION=1.2.2 -PYGRAPHVIZ_VERSION=1.0 +#PYGRAPHVIZ_VERSION=1.0 NETWORKX_VERSION=1.4 PYGTK_VERSION=2.10.6 PYGOBJECT_VERSION=2.12.3 #export BASE_PREFIX=${HOME}/opt/python -export BASE_PREFIX=/sw/laki/hlrs/python +export BASE_PREFIX=/sw/laki-SL6x/hlrs/python PREFIX=${BASE_PREFIX}/${PYTHON_VERSION} MAKEOPTS="-j4" @@ -81,11 +81,11 @@ A=${P}.tar.gz sit_auto_install -# install pygraphviz -echo "installing pygraphviz ${PYGRAPHVIZ_VERSION}" -P=pygraphviz-${PYGRAPHVIZ_VERSION} -A=${P}.tar.gz -easy_install --allow-hosts None -f ${SRC_POOL} pygraphviz +## install pygraphviz +#echo "installing pygraphviz ${PYGRAPHVIZ_VERSION}" +#P=pygraphviz-${PYGRAPHVIZ_VERSION} +#A=${P}.tar.gz +#easy_install --allow-hosts None -f ${SRC_POOL} pygraphviz # install networkx @@ -97,7 +97,7 @@ easy_install --allow-hosts None -f ${SRC_POOL} networkx # install pygtk echo "Installing pygtk ${PYGTK_VERSION}" P=pygtk-${PYGTK_VERSION} -A=${P}.tar.bz2 +A=${P}.tar.gz sit_auto_install # install pygobject