From 00fcff6b9c087871f89e3af1e439720ca870bcba Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 17 Sep 2015 10:02:34 +0000 Subject: [PATCH] Sit class file for papi+perfmon based on git revision snapshots. --- .../papi/papi-2015-09-08-git85a9312 | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 packages/performance/papi/papi-2015-09-08-git85a9312 diff --git a/packages/performance/papi/papi-2015-09-08-git85a9312 b/packages/performance/papi/papi-2015-09-08-git85a9312 new file mode 100755 index 0000000..7c23d21 --- /dev/null +++ b/packages/performance/papi/papi-2015-09-08-git85a9312 @@ -0,0 +1,36 @@ +#!/bin/sh +# installation script for Papi +# +# Christoph Niethammer 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/lib libpfm4 +} + + +