ChangeLog

# ChangeLog for app-emulation/systemsim-cell
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/ChangeLog,v 1.5 2008/04/11 17:16:13 corsair Exp $

*systemsim-cell-3.0_p22 (11 Apr 2008)

11 Apr 2008; Markus Rothe
-systemsim-cell-3.0-r2.ebuild, +systemsim-cell-3.0_p22.ebuild:
Version bump. Add strip to RESTRICT.

*systemsim-cell-3.0-r2 (03 Apr 2008)

03 Apr 2008; Markus Rothe
-systemsim-cell-3.0-r1.ebuild, +systemsim-cell-3.0-r2.ebuild:
Add a new revision that depends on tcl/tk-8.4* (this is binary package
linking against version 8.4)

*systemsim-cell-3.0-r1 (21 Feb 2008)

21 Feb 2008; Markus Rothe
-files/systemsim-cell-3.0-cowdiskname.patch, -systemsim-cell-3.0.ebuild,
+systemsim-cell-3.0-r1.ebuild:
Drop the cowdiskname patch, because using 'systemsim -g' *just works*.
Executing run_gui directly is bad.

12 Feb 2008; Markus Rothe +metadata.xml:
Add metadata.xml

*systemsim-cell-3.0 (12 Feb 2008)

12 Feb 2008; Markus Rothe
+files/systemsim-cell-3.0-cowdiskname.patch, +files/09systemsim-cell,
+systemsim-cell-3.0.ebuild:
Initial commit. Ebuild modified from lu_zero's.

Manifest

AUX 09systemsim-cell 74 RMD160 96efa74a5e6d46444cf08b9bec020a900d0aabeb SHA1 459e8cb0622bceedf4165c590168b11e32a750bd SHA256 fabecaab8428bcc76bcfb0f4e856a207cb9f65d9f88012f254da752aae1e1cce
DIST systemsim-cell-3.0-22.i386.rpm 6150663 RMD160 bfa16afe0a5236bcb417c70774f09137e36c2e81 SHA1 66a18739668ef4aeba81a1bfa40eeb9fb7ba08f7 SHA256 26868d76b0020daad39cf77cecfee6befe28452ffe8631d4d9e201caeaac51ba
DIST systemsim-cell-3.0-22.ppc64.rpm 6051500 RMD160 3ce1ac5e3862d71271b4012e7e08069eb9600772 SHA1 77c14afbae77a3665494d7a9e9ac9ff49de9bb37 SHA256 75b640de991b04392447318c8493eed08ff80652e95a2a4ead9fb60b02d11845
DIST systemsim-cell-3.0-22.x86_64.rpm 6282427 RMD160 ab7b828520b1c86b43e72c4a93f8bb0afd343f94 SHA1 b0b347231d2a92e9f79cf0fb14c4c6fd4fa87277 SHA256 81433eed909173dc4be4cc4d01fa229153338268ecf727a62a5fe4245263a549
EBUILD systemsim-cell-3.0_p22.ebuild 1745 RMD160 8d92aa2c9b35ff9349bf63d01b4e49ed22b641e3 SHA1 b23ceb3bc18d9a41a99c5075bb51a5613653e9c1 SHA256 705b539070c9326849bcfba919ae9d656b455d20fd43b172e2a41be033b23397
MISC ChangeLog 1306 RMD160 c9d7f2d03b68da50c7c4602b3364b1ba3d0ddd90 SHA1 d38609cce2a9d373e5dacfc2fedbd47d96652eb1 SHA256 e336a73662658ee887acc58a33465417e7a4a3fd858596ce4d49315077f70989
MISC metadata.xml 217 RMD160 cf8d11472e8d14297f2074ea3787a54c910e95b0 SHA1 ed6b0544f5e3b29d43eab818778ed4e3fc536a6b SHA256 b2c4c32e655bccb5f9f8960ec956190da115f45f67f9aea241fad78e6fe752a5

files

metadata.xml




ppc64
corsair@gentoo.org

systemsim-cell-3.0_p22.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

inherit rpm eutils

DESCRIPTION="Full-System Simulator for the Cell Broadband Engine Processor"
HOMEPAGE="http://www.alphaworks.ibm.com/tech/cellsystemsim"
SRC_URI="x86? ( ${P/_p/-}.i386.rpm )
ppc64? ( ${P/_p/-}.ppc64.rpm )
amd64? ( ${P/_p/-}.x86_64.rpm )"

LICENSE="IBM-ILAR"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""

SYSTEMSIM_DIR="/opt/ibm/systemsim-cell"
IMAGE_PATH="/usr/share/${PN}/image"

DEPEND="=dev-lang/tcl-8.4*
=dev-lang/tk-8.4*"

RESTRICT="fetch strip"
S="${WORKDIR}"

pkg_nofetch() {
einfo "Please download ${A} yourself from:"
einfo "http://www.alphaworks.ibm.com/tech/cellsystemsim/download"
einfo "and place it in ${DISTDIR}"
}

src_unpack() {
rpm_unpack "$DISTDIR"/${A}

# fix the path to the images. we don't want them in /opt
sed -i -e "s:\${SYSTEMSIM_TOP}/images:${IMAGE_PATH}:" \
"${WORKDIR}"/"${SYSTEMSIM_DIR}"/bin/systemsim || die "sed error"
}

src_compile() {
einfo "nothing to compile"
}

src_install() {
cp -pPR "${WORKDIR}"/opt "${D}"
rm -fR "${D}"/"${SYSTEMSIM_DIR}"/doc
rm -fR "${D}"/"${SYSTEMSIM_DIR}"/images
insinto /usr/share/doc/"${PF}"/
doins "${WORKDIR}"/"${SYSTEMSIM_DIR}"/doc/*.pdf
doenvd "${FILESDIR}"/09systemsim-cell
dodir "${IMAGE_PATH}"/cell
echo "Put a system image with the name 'sysroot_disk' and a kernel image\n" \
"with the name 'vmlinux' here" > "${D}"/"${IMAGE_PATH}"/cell/README
}

pkg_postinst() {
elog "The provided systemsim doesn't have kernel and system images, please"
elog "install them in ${IMAGE_PATH}/cell"
}