blob: 64b3fdae31fa8768c91490ed565bc575c34f90fa (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils toolchain-funcs
DESCRIPTION="Benchmark the speed main memory (RAM)"
HOMEPAGE="http://mama.indstate.edu/users/ice/progs.html"
SRC_URI="http://mama.indstate.edu/users/ice/progs/${PN}.c -> ${P}.c"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_compile() {
echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${P}.c
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${P}.c || die
}
src_install() {
dobin ${PN} || die
}
|