/[gentoo-x86]/app-emulation/armv8-fast-model/armv8-fast-model-0.8.5206.ebuild
Gentoo

Contents of /app-emulation/armv8-fast-model/armv8-fast-model-0.8.5206.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jan 18 09:21:49 2014 UTC (14 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Initial ebuild by me.

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6
7 inherit eutils multilib
8
9 MY_P="FM000-KT-00035-r${PV:0:1}p${PV:2:1}-${PV:0-4:2}rel${PV:0-2}"
10 DESCRIPTION="emulator for a basic ARMv8 platform environment (for running bare metal & Linux)"
11 HOMEPAGE="https://silver.arm.com/browse/FM00A"
12 SRC_URI="https://silver.arm.com/download/Development_Tools/ESL:_Fast_Models/Fast_Models/${MY_P}/${MY_P}.tgz"
13
14 LICENSE="ARM-FAST-MODEL"
15 SLOT="0"
16 KEYWORDS="-* ~amd64"
17 IUSE="examples"
18 RESTRICT="fetch strip"
19
20 RDEPEND="sys-libs/glibc
21 sys-devel/gcc"
22
23 S="${WORKDIR}/Foundation_v8pkg"
24
25 QA_PREBUILT="
26 opt/${PN}/bin/Foundation_v8
27 opt/${PN}/*/lib*.so*
28 "
29
30 pkg_nofetch() {
31 einfo "Please visit this URL to download the package:"
32 einfo " ${SRC_URI}"
33 einfo "Then stick it into ${DISTDIR}"
34 }
35
36 src_install() {
37 into /opt/${PN}
38 pushd models/Linux64_GCC-4.1 >/dev/null
39 dobin Foundation_v8
40 dolib.so lib*.so*
41 popd >/dev/null
42
43 dodir /opt/bin
44 make_wrapper Foundation_v8 /opt/${PN}/bin/Foundation_v8 '' /opt/${PN}/$(get_libdir) /opt/bin
45
46 dodoc doc/*.{pdf,txt}
47 use examples && dodoc -r examples
48 }

  ViewVC Help
Powered by ViewVC 1.1.20