From 45013b528ff44b1fefac3facb76bca482a96ef28 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 2 Aug 2013 12:00:56 +0000 Subject: [PATCH] Added debugger/temanejo temanejo-1.0_any allows to set on the command line and will work for allmost any version. --- packages/debugger/temanejo/temanejo-1.0_any | 36 +++++++++++++++++++++ packages/debugger/temanejo/temanejo-1.0rc1 | 25 ++++++++++++++ 2 files changed, 61 insertions(+) create mode 100755 packages/debugger/temanejo/temanejo-1.0_any create mode 100755 packages/debugger/temanejo/temanejo-1.0rc1 diff --git a/packages/debugger/temanejo/temanejo-1.0_any b/packages/debugger/temanejo/temanejo-1.0_any new file mode 100755 index 0000000..c0d238d --- /dev/null +++ b/packages/debugger/temanejo/temanejo-1.0_any @@ -0,0 +1,36 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (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 " + +# 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/" +} + diff --git a/packages/debugger/temanejo/temanejo-1.0rc1 b/packages/debugger/temanejo/temanejo-1.0rc1 new file mode 100755 index 0000000..c0592a9 --- /dev/null +++ b/packages/debugger/temanejo/temanejo-1.0rc1 @@ -0,0 +1,25 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2011 +# + +CATEGORY="debugger" +PACKAGE="temanejo" +VERSION="1.0rc1" +URL="http://www.hlrs.de/temanejo/" +INSTALLER="Jose Gracia " + +# 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} \ + " + + +