summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-12-06 22:36:54 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-12-06 22:36:54 +0000
commitb70f80c7fba5bde5027c7d3752485b48001b8029 (patch)
tree2277b73e4760f9b183f79b8a763a505bea20ec77
parentUpdated kernel sources, I'm undecided about providing the ps3pf bits yet (diff)
downloadlu_zero-b70f80c7fba5bde5027c7d3752485b48001b8029.tar.gz
lu_zero-b70f80c7fba5bde5027c7d3752485b48001b8029.tar.bz2
lu_zero-b70f80c7fba5bde5027c7d3752485b48001b8029.zip
libspe1 updated, libspe2 will appear soon
svn path=/; revision=63
-rw-r--r--sys-libs/libspe/Manifest8
-rw-r--r--sys-libs/libspe/files/digest-libspe-1.2.03
-rw-r--r--sys-libs/libspe/libspe-1.2.0.ebuild55
3 files changed, 66 insertions, 0 deletions
diff --git a/sys-libs/libspe/Manifest b/sys-libs/libspe/Manifest
index e65a375..1d1a542 100644
--- a/sys-libs/libspe/Manifest
+++ b/sys-libs/libspe/Manifest
@@ -3,10 +3,18 @@ MD5 b77709b478c9fa2e7847c1ddd9419a48 files/spe.rc6 903
RMD160 916add4554b5428c38db255004f6b35ad3db8a37 files/spe.rc6 903
SHA256 5b36c26f47dc30ca824a36021f0f2110f942148ad369022cd09e00b045b2a6a5 files/spe.rc6 903
DIST libspe-1.1.0.tar.gz 70187 RMD160 602f5f03184ff79b3b30731bd491a8758be00442 SHA1 fb47d4071a9653282477d469193d4e392e2cf226 SHA256 06aa9eedc2fd5c7c17eb387b186c9d6ebf83e1ebe136e80fe6ff4d3b11b654b3
+DIST libspe-1.2.0.tar.gz 108209 RMD160 e5e8149fa39d4d46becf1fd86e629fecf6f89fd6 SHA1 45beb112152d2b7c53aae5ed9e872d7603b6e15d SHA256 c2f1222300f7521b61f7f614a027d2b17baefb729083e50b4ffee7d8854b861d
EBUILD libspe-1.1.0.ebuild 1258 RMD160 00baa76287f9f549731d452001e5bad78a87346b SHA1 5f5dc86cf3a7d5fa1bba153500a58f9e02c90fe7 SHA256 3114bc81acd80bfebb3b0d13eeeb18ba5c3772727adae584d46bc596ad0e9e4f
MD5 ef7b5c1c8781a7daba5897c942240192 libspe-1.1.0.ebuild 1258
RMD160 00baa76287f9f549731d452001e5bad78a87346b libspe-1.1.0.ebuild 1258
SHA256 3114bc81acd80bfebb3b0d13eeeb18ba5c3772727adae584d46bc596ad0e9e4f libspe-1.1.0.ebuild 1258
+EBUILD libspe-1.2.0.ebuild 1201 RMD160 7c40b8bd9d2396f6a407780200b71d8e5ae8e023 SHA1 61d240935e2fbe611d80f01fafcaf112f999cb2a SHA256 9f1f38a5e585f583bd3edb465b62253b80a85082c1d52d0d42965da8fd819a95
+MD5 447b3a7394e4d98e895a958dcd0f5829 libspe-1.2.0.ebuild 1201
+RMD160 7c40b8bd9d2396f6a407780200b71d8e5ae8e023 libspe-1.2.0.ebuild 1201
+SHA256 9f1f38a5e585f583bd3edb465b62253b80a85082c1d52d0d42965da8fd819a95 libspe-1.2.0.ebuild 1201
MD5 e5327239f6765afa9f2ad1ed8803e760 files/digest-libspe-1.1.0 235
RMD160 4633f57c4b329fc740f719f4ff56497c5467afd5 files/digest-libspe-1.1.0 235
SHA256 c465f113503a4c2b64ea5868cb49a56de2d533f38780518d13819c201e2e9d18 files/digest-libspe-1.1.0 235
+MD5 9b38cfbc6dc93590d3a1f2e8e45e0c9b files/digest-libspe-1.2.0 238
+RMD160 1a2e37bf40302d1d9d7e90bc24ded7689feb38a2 files/digest-libspe-1.2.0 238
+SHA256 98363fb7a7684bce68d68ad7510b8724fce155b4eb022365b8f1656b1582bb24 files/digest-libspe-1.2.0 238
diff --git a/sys-libs/libspe/files/digest-libspe-1.2.0 b/sys-libs/libspe/files/digest-libspe-1.2.0
new file mode 100644
index 0000000..56a2bc9
--- /dev/null
+++ b/sys-libs/libspe/files/digest-libspe-1.2.0
@@ -0,0 +1,3 @@
+MD5 904912135ccaddb6e2e751ae11036250 libspe-1.2.0.tar.gz 108209
+RMD160 e5e8149fa39d4d46becf1fd86e629fecf6f89fd6 libspe-1.2.0.tar.gz 108209
+SHA256 c2f1222300f7521b61f7f614a027d2b17baefb729083e50b4ffee7d8854b861d libspe-1.2.0.tar.gz 108209
diff --git a/sys-libs/libspe/libspe-1.2.0.ebuild b/sys-libs/libspe/libspe-1.2.0.ebuild
new file mode 100644
index 0000000..b0ce544
--- /dev/null
+++ b/sys-libs/libspe/libspe-1.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="A wrapper library to adapt the JSRE SPU usage model to SPUFS"
+HOMEPAGE="http://ozlabs.org/pipermail/cbe-oss-dev/"
+SRC_URI="http://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~ppc64"
+IUSE="debug"
+
+DEPEND=""
+RDEPEND=""
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ SYSROOT=""
+else
+ SYSROOT="/usr/${CTARGET}"
+fi
+
+src_unpack () {
+ unpack ${A}
+ #just in case something is missing
+}
+
+src_compile() {
+ myconf=""
+ use debug && myconf="${myconf} DEBUG=1"
+ make CROSS="${CTARGET}-" prefix=/usr SYSROOT="$SYSROOT" ${myconf}
+}
+
+src_install() {
+ make CROSS="${CTARGET}-" prefix=/usr SYSROOT="$SYSROOT" \
+ DESTDIR="$D" install
+ cp ${FILESDIR}/spe.rc6 ${T}/elfspe
+ doinitd ${T}/elfspe
+}
+
+
+pkg_postinst() {
+ einfo "You may want to register elfspe to binfmt using the"
+ einfo "provided initscript"
+ einfo "# rc-update add elfspe boot"
+}