Added performance/maqao
This commit is contained in:
parent
23ed4b631b
commit
e01cf15ec4
2 changed files with 51 additions and 8 deletions
43
packages/performance/maqao/maqao_any
Executable file
43
packages/performance/maqao/maqao_any
Executable file
|
@ -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 <gracia@hlrs.de>"
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
|
@ -19,13 +19,13 @@ export WORKDIR_BASE=${HOME}/work
|
||||||
PYTHON_VERSION=2.7.1
|
PYTHON_VERSION=2.7.1
|
||||||
SETUPTOOLS_VERSION=0.6c11
|
SETUPTOOLS_VERSION=0.6c11
|
||||||
CAIRO_VERSION=1.2.2
|
CAIRO_VERSION=1.2.2
|
||||||
PYGRAPHVIZ_VERSION=1.0
|
#PYGRAPHVIZ_VERSION=1.0
|
||||||
NETWORKX_VERSION=1.4
|
NETWORKX_VERSION=1.4
|
||||||
PYGTK_VERSION=2.10.6
|
PYGTK_VERSION=2.10.6
|
||||||
PYGOBJECT_VERSION=2.12.3
|
PYGOBJECT_VERSION=2.12.3
|
||||||
|
|
||||||
#export BASE_PREFIX=${HOME}/opt/python
|
#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}
|
PREFIX=${BASE_PREFIX}/${PYTHON_VERSION}
|
||||||
MAKEOPTS="-j4"
|
MAKEOPTS="-j4"
|
||||||
|
|
||||||
|
@ -81,11 +81,11 @@ A=${P}.tar.gz
|
||||||
sit_auto_install
|
sit_auto_install
|
||||||
|
|
||||||
|
|
||||||
# install pygraphviz
|
## install pygraphviz
|
||||||
echo "installing pygraphviz ${PYGRAPHVIZ_VERSION}"
|
#echo "installing pygraphviz ${PYGRAPHVIZ_VERSION}"
|
||||||
P=pygraphviz-${PYGRAPHVIZ_VERSION}
|
#P=pygraphviz-${PYGRAPHVIZ_VERSION}
|
||||||
A=${P}.tar.gz
|
#A=${P}.tar.gz
|
||||||
easy_install --allow-hosts None -f ${SRC_POOL} pygraphviz
|
#easy_install --allow-hosts None -f ${SRC_POOL} pygraphviz
|
||||||
|
|
||||||
|
|
||||||
# install networkx
|
# install networkx
|
||||||
|
@ -97,7 +97,7 @@ easy_install --allow-hosts None -f ${SRC_POOL} networkx
|
||||||
# install pygtk
|
# install pygtk
|
||||||
echo "Installing pygtk ${PYGTK_VERSION}"
|
echo "Installing pygtk ${PYGTK_VERSION}"
|
||||||
P=pygtk-${PYGTK_VERSION}
|
P=pygtk-${PYGTK_VERSION}
|
||||||
A=${P}.tar.bz2
|
A=${P}.tar.gz
|
||||||
sit_auto_install
|
sit_auto_install
|
||||||
|
|
||||||
# install pygobject
|
# install pygobject
|
||||||
|
|
Loading…
Reference in a new issue