blob: 5ce618e514349da363990edd2b0365ecbad53d61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
DESCRIPTION="Command line tools for developing high performance multi threaded programs"
HOMEPAGE="http://code.google.com/p/likwid/"
SRC_URI="http://gentryx.de/~gentryx/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64"
IUSE=""
src_prepare() {
epatch "${FILESDIR}/${P}-paths.patch"
epatch "${FILESDIR}/${P}-shared_lib.patch"
sed -i -e "s:/usr/local:${ED}/usr:" config.mk || die "Couldn't set directories!"
}
src_compile() {
emake PREFIX="${EPREFIX}/usr"
emake likwid-bench
}
src_install() {
default
fperms 4755 /usr/bin/likwid-accessD
}
|