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} +}