28 lines
577 B
Bash
Executable file
28 lines
577 B
Bash
Executable file
#!/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}
|
|
}
|