Added debugger/temanejo

temanejo-1.0_any allows to set  on the command line and will work for allmost any version.
This commit is contained in:
Jose Gracia 2013-08-02 12:00:56 +00:00 committed by Christoph Niethammer
parent 7957556300
commit 45013b528f
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,36 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="debugger"
PACKAGE="temanejo"
# if VERSIOn not set assume 1.0
: ${VERSION:="1.0"}
URL="http://www.hlrs.de/temanejo/"
INSTALLER="Jose Gracia <gracia@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.gz
P=${PACKAGE}-${VERSION}
# Other interesting configure options:
MODULE_TEMPLATE=${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/modulefiles/HLRS_temanejo_modulefile.in
CONFIGURE_OPTS=" \
--enable-modulefile=${MODULE_TEMPLATE} \
"
src_postinst() {
# set link to module file
cd ${PREFIX}/../modulefiles
ln -s ../${VERSION}/modulefile/${VERSION} .
sit_info "Modulefile has been linked into ${PREFIX}/../modulefiles"
# set link to latest ayudame clients for OmpSs
cd ${PREFIX}/lib
ln -s ../../share/clients/libnanox-instrumentation-ayudame-* .
sit_info "OmpSs clients have been linked into ${PREFIX}/lib/"
}

View file

@ -0,0 +1,25 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="debugger"
PACKAGE="temanejo"
VERSION="1.0rc1"
URL="http://www.hlrs.de/temanejo/"
INSTALLER="Jose Gracia <gracia@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.gz
P=${PACKAGE}-${VERSION}
# Other interesting configure options:
MODULE_TEMPLATE=${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/modulefiles/HLRS_temanejo_modulefile.in
CONFIGURE_OPTS=" \
--enable-modulefile=${MODULE_TEMPLATE} \
"