From 6822294c238fa28d41f37c3c5bf04a02be105a7e Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 23 Jul 2012 22:00:40 +0000 Subject: [PATCH] Added sit class file for likwid-2.3.0. --- packages/performance/likwid/likwid-2.3.0 | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 packages/performance/likwid/likwid-2.3.0 diff --git a/packages/performance/likwid/likwid-2.3.0 b/packages/performance/likwid/likwid-2.3.0 new file mode 100755 index 0000000..726165d --- /dev/null +++ b/packages/performance/likwid/likwid-2.3.0 @@ -0,0 +1,28 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2012 +# + +CATEGORY="performance" +PACKAGE="likwid" +VERSION="2.3.0" +URL="http://code.google.com/p/likwid/" +INSTALLER="Christoph Niethammer " + +# Archive A and package name P +A=${PACKAGE}-${VERSION}.tar.gz +P=${PACKAGE}-2.3 + + +# Other interesting configure options: +CONFIGURE_OPTS="" + +src_prepare () { + sed -i -e "/PREFIX/s#/usr/local#$PREFIX#" config.mk +} + +BUILDDIR=$SRCDIR +src_build() { + make ${MAKEOPTS} && make ${MAKEOPTS} likwid-bench && cd src/msr-daemon && make ${MAKEOPTS} +}