37 lines
958 B
Text
37 lines
958 B
Text
|
#!/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/"
|
||
|
}
|
||
|
|