forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
armv8-fast-model-0.8.5206.ebuild
48 lines (37 loc) · 1.12 KB
/
armv8-fast-model-0.8.5206.ebuild
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils multilib
MY_P="FM000-KT-00035-r${PV:0:1}p${PV:2:1}-${PV:0-4:2}rel${PV:0-2}"
DESCRIPTION="emulator for a basic ARMv8 platform environment (for running bare metal & Linux)"
HOMEPAGE="https://silver.arm.com/browse/FM00A"
SRC_URI="https://silver.arm.com/download/Development_Tools/ESL:_Fast_Models/Fast_Models/${MY_P}/${MY_P}.tgz"
LICENSE="ARM-FAST-MODEL"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE="examples"
RESTRICT="fetch strip"
RDEPEND="sys-libs/glibc
sys-devel/gcc"
S="${WORKDIR}/Foundation_v8pkg"
QA_PREBUILT="
opt/${PN}/bin/Foundation_v8
opt/${PN}/*/lib*.so*
"
pkg_nofetch() {
einfo "Please visit this URL to download the package:"
einfo " ${SRC_URI}"
einfo "Then stick it into ${DISTDIR}"
}
src_install() {
into /opt/${PN}
pushd models/Linux64_GCC-4.1 >/dev/null
dobin Foundation_v8
dolib.so lib*.so*
popd >/dev/null
dodir /opt/bin
make_wrapper Foundation_v8 /opt/${PN}/bin/Foundation_v8 '' /opt/${PN}/$(get_libdir) /opt/bin
dodoc doc/*.{pdf,txt}
use examples && dodoc -r examples
}