# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="6" inherit versionator MY_PV="$(get_version_component_range 1)" DESCRIPTION="Cross-platform processor benchmark" HOMEPAGE="http://www.primatelabs.com/" SRC_URI="http://cdn.primatelabs.com/Geekbench-${PV}-Linux.tar.gz" LICENSE="geekbench" SLOT="4" KEYWORDS="-* ~amd64 ~x86" RESTRICT="installsources fetch mirror strip" S="${WORKDIR}/build.pulse/dist/Geekbench-${PV}-Linux" QA_FLAGS_IGNORED="opt/${PN}${MY_PV}/geekbench_x86_32 opt/${PN}${MY_PV}/geekbench_x86_64" QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" pkg_nofetch() { elog "Please download ${A}" elog "from ${HOMEPAGE}geekbench/ and place this" elog "file in ${DISTDIR}" } src_install() { insinto /opt/${PN}${MY_PV} doins ${PN}.plar exeinto /opt/${PN}${MY_PV} doexe ${PN}${MY_PV} ${PN}_x86_32 ${PN}_x86_64 dodir /opt/bin dosym ../${PN}${MY_PV}/${PN}${MY_PV} /opt/bin/${PN}${MY_PV} }