44 lines
709 B
Text
44 lines
709 B
Text
|
#!/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
|
||
|
|