Added sit class file for likwid-2.3.0.

This commit is contained in:
Christoph Niethammer 2012-07-23 22:00:40 +00:00
parent bc81f90450
commit 6822294c23

View file

@ -0,0 +1,28 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
#
CATEGORY="performance"
PACKAGE="likwid"
VERSION="2.3.0"
URL="http://code.google.com/p/likwid/"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# 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}
}