36 lines
585 B
Bash
Executable file
36 lines
585 B
Bash
Executable file
#!/bin/sh
|
|
# installation script for Papi
|
|
#
|
|
# Christoph Niethammer <niethammer@hlrs.de> 2015
|
|
#
|
|
|
|
|
|
# package to build
|
|
CATEGORY="performance"
|
|
PACKAGE="papi"
|
|
GITVERSION="85a9312"
|
|
VERSION="2015-09-09-git$GITVERSION"
|
|
|
|
# Archive A and package name P
|
|
# archive can be tar.bz2 or tar.gz file
|
|
A=${PACKAGE}-${GITVERSION}.tar.gz
|
|
P=${PACKAGE}-${GITVERSION}
|
|
|
|
SRCDIR=${SRCDIR}/src
|
|
BUILDDIR=$SRCDIR
|
|
|
|
CONFIGURE_OPTS="\
|
|
"
|
|
|
|
|
|
# path to the source code directory
|
|
|
|
src_prepare() {
|
|
cd $SRCDIR
|
|
tar xfz ${SRC_POOL}/perfmon2-libpfm4-a67b3d4.tar.gz
|
|
rm -rf libpfm4
|
|
ln -s perfmon2-libpfm4-a67b3d4 libpfm4
|
|
}
|
|
|
|
|
|
|