Gentoo Archives: gentoo-commits

From: "Markus Rothe (corsair)" <corsair@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/systemsim-cell: ChangeLog systemsim-cell-3.0-r1.ebuild systemsim-cell-3.0.ebuild
Date: Thu, 21 Feb 2008 20:30:06
Message-Id: E1JSI3P-0002qA-Lo@stork.gentoo.org
1 corsair 08/02/21 20:30:03
2
3 Modified: ChangeLog
4 Added: systemsim-cell-3.0-r1.ebuild
5 Removed: systemsim-cell-3.0.ebuild
6 Log:
7 Drop the cowdiskname patch, because using 'systemsim -g' *just works*. Executing run_gui directly is bad.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.3 app-emulation/systemsim-cell/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 12 Feb 2008 18:21:53 -0000 1.2
24 +++ ChangeLog 21 Feb 2008 20:30:03 -0000 1.3
25 @@ -1,6 +1,14 @@
26 # ChangeLog for app-emulation/systemsim-cell
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/ChangeLog,v 1.2 2008/02/12 18:21:53 corsair Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/ChangeLog,v 1.3 2008/02/21 20:30:03 corsair Exp $
30 +
31 +*systemsim-cell-3.0-r1 (21 Feb 2008)
32 +
33 + 21 Feb 2008; Markus Rothe <corsair@g.o>
34 + -files/systemsim-cell-3.0-cowdiskname.patch, -systemsim-cell-3.0.ebuild,
35 + +systemsim-cell-3.0-r1.ebuild:
36 + Drop the cowdiskname patch, because using 'systemsim -g' *just works*.
37 + Executing run_gui directly is bad.
38
39 12 Feb 2008; Markus Rothe <corsair@g.o> +metadata.xml:
40 Add metadata.xml
41
42
43
44 1.1 app-emulation/systemsim-cell/systemsim-cell-3.0-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/systemsim-cell-3.0-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/systemsim-cell-3.0-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: systemsim-cell-3.0-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/systemsim-cell-3.0-r1.ebuild,v 1.1 2008/02/21 20:30:03 corsair Exp $
54
55 inherit rpm eutils
56
57 DESCRIPTION="Full-System Simulator for the Cell Broadband Engine Processor"
58 HOMEPAGE="http://www.alphaworks.ibm.com/tech/cellsystemsim"
59 SRC_URI="x86? ( ${P}-15.i386.rpm )
60 ppc64? ( ${P}-15.ppc64.rpm )
61 amd64? ( ${P}-15.x86_64.rpm )"
62
63 LICENSE="IBM-ILAR"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc64 ~x86"
66 IUSE=""
67
68 SYSTEMSIM_DIR="/opt/ibm/systemsim-cell"
69 IMAGE_PATH="/usr/share/${PN}/image"
70
71 DEPEND=">=dev-lang/tcl-8.4.10
72 >=dev-lang/tk-8.4.10"
73
74 RESTRICT="fetch"
75 S="${WORKDIR}"
76
77 pkg_nofetch() {
78 einfo "Please download ${A} yourself from:"
79 einfo "http://www.alphaworks.ibm.com/tech/cellsystemsim/download"
80 einfo "and place it in ${DISTDIR}"
81 }
82
83 src_unpack() {
84 rpm_unpack "$DISTDIR"/${A}
85
86 # fix the path to the images. we don't want them in /opt
87 sed -i -e "s:\${SYSTEMSIM_TOP}/images:${IMAGE_PATH}:" \
88 "${WORKDIR}"/"${SYSTEMSIM_DIR}"/bin/systemsim || die "sed error"
89 }
90
91 src_compile() {
92 einfo "nothing to compile"
93 }
94
95 src_install() {
96 cp -pPR "${WORKDIR}"/opt "${D}"
97 rm -fR "${D}"/"${SYSTEMSIM_DIR}"/doc
98 rm -fR "${D}"/"${SYSTEMSIM_DIR}"/images
99 insinto /usr/share/doc/"${PF}"/
100 doins "${WORKDIR}"/"${SYSTEMSIM_DIR}"/doc/*.pdf
101 doenvd "${FILESDIR}"/09systemsim-cell
102 dodir "${IMAGE_PATH}"/cell
103 echo "Put a system image with the name 'sysroot_disk' and a kernel image\n" \
104 "with the name 'vmlinux' here" > "${D}"/"${IMAGE_PATH}"/cell/README
105 }
106
107 pkg_postinst() {
108 elog "The provided systemsim doesn't have kernel and system images, please"
109 elog "install them in ${IMAGE_PATH}/cell"
110 }
111
112
113
114 --
115 gentoo-commits@l.g.o mailing list