blob: 869372ca368302b21d7b86d6e007bae34dfdbf66 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/libc-bench"
inherit cros-workon toolchain-funcs
DESCRIPTION="libc benchmark originally from
http://www.etalabs.net/src/libc-bench/"
HOMEPAGE="http://www.etalabs.net/src/libc-bench/"
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
src_compile() {
tc-export CC CXX PKG_CONFIG
emake || die "end compile failed."
}
src_install() {
INSTALL_DIR=/usr/local/libc-bench/
dodir $INSTALL_DIR
exeinto $INSTALL_DIR
doexe libc-bench
}