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