summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-12-25 03:48:16 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-12-25 03:48:16 +0000
commit351894ecacf0d1c69bce1601a511cbf7ecf1c433 (patch)
treee998516f50c12643f9b49f96a458cdd55d043631 /sys-libs
downloadcell-351894ecacf0d1c69bce1601a511cbf7ecf1c433.tar.gz
cell-351894ecacf0d1c69bce1601a511cbf7ecf1c433.tar.bz2
cell-351894ecacf0d1c69bce1601a511cbf7ecf1c433.zip
Populating the overlay
svn path=/; revision=1
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libspe/Manifest20
-rw-r--r--sys-libs/libspe/files/digest-libspe-1.1.03
-rw-r--r--sys-libs/libspe/files/digest-libspe-1.2.03
-rw-r--r--sys-libs/libspe/files/spe.rc639
-rw-r--r--sys-libs/libspe/libspe-1.1.0.ebuild55
-rw-r--r--sys-libs/libspe/libspe-1.2.0.ebuild55
-rw-r--r--sys-libs/libspe2/Manifest12
-rw-r--r--sys-libs/libspe2/files/digest-libspe2-2.0.13
-rw-r--r--sys-libs/libspe2/files/spe.rc639
-rw-r--r--sys-libs/libspe2/libspe2-2.0.1.ebuild58
10 files changed, 287 insertions, 0 deletions
diff --git a/sys-libs/libspe/Manifest b/sys-libs/libspe/Manifest
new file mode 100644
index 0000000..0d7fe9d
--- /dev/null
+++ b/sys-libs/libspe/Manifest
@@ -0,0 +1,20 @@
+AUX spe.rc6 916 RMD160 2dc581a938e2e720706302f5891dcab84fedd847 SHA1 ea69265526ea1c9943dbeef1966d623d60852f28 SHA256 291dc275e9b1605d07f66503835bd0641798492803958024ceb97df97a27c784
+MD5 4600fa2dcfbf3c0f3567cf22b3a57b89 files/spe.rc6 916
+RMD160 2dc581a938e2e720706302f5891dcab84fedd847 files/spe.rc6 916
+SHA256 291dc275e9b1605d07f66503835bd0641798492803958024ceb97df97a27c784 files/spe.rc6 916
+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 1208 RMD160 154d4204f312ef74c06177f530c8498ac97c2128 SHA1 29f5337e7690252822dcd62ec258002701fa84e4 SHA256 b10fceaa6077ca9c3e0c831387c3d712260610296177ba9a24f9a56b85354e41
+MD5 9c43f07447adeffc64f5b1ec9e2de616 libspe-1.2.0.ebuild 1208
+RMD160 154d4204f312ef74c06177f530c8498ac97c2128 libspe-1.2.0.ebuild 1208
+SHA256 b10fceaa6077ca9c3e0c831387c3d712260610296177ba9a24f9a56b85354e41 libspe-1.2.0.ebuild 1208
+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.1.0 b/sys-libs/libspe/files/digest-libspe-1.1.0
new file mode 100644
index 0000000..b0da9d5
--- /dev/null
+++ b/sys-libs/libspe/files/digest-libspe-1.1.0
@@ -0,0 +1,3 @@
+MD5 8e8122e320637123ab780692afef0887 libspe-1.1.0.tar.gz 70187
+RMD160 602f5f03184ff79b3b30731bd491a8758be00442 libspe-1.1.0.tar.gz 70187
+SHA256 06aa9eedc2fd5c7c17eb387b186c9d6ebf83e1ebe136e80fe6ff4d3b11b654b3 libspe-1.1.0.tar.gz 70187
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/files/spe.rc6 b/sys-libs/libspe/files/spe.rc6
new file mode 100644
index 0000000..e84790a
--- /dev/null
+++ b/sys-libs/libspe/files/spe.rc6
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ # you need the elfspe bin
+ need localmount
+}
+
+start() {
+ ebegin "Registering elfspe to binfmt"
+
+ if test -f /proc/sys/fs/binfmt_misc/spe
+ then
+ eerror "elfspe already registered"
+ return 1
+ else
+ if test -f /proc/sys/fs/binfmt_misc/register
+ then
+ echo ':spe:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x17::/usr/bin/elfspe:' >/proc/sys/fs/binfmt_misc/register
+ eend $?
+ else
+ eerror "binfmt not available"
+ return 1
+ fi
+ fi
+}
+
+stop() {
+ if ! test -f /proc/sys/fs/binfmt_misc/spe
+ then
+ eerror "elfspe not present"
+ return 1
+ else
+ echo -1 > /proc/sys/fs/binfmt_misc/spe
+ eend $?
+ fi
+}
diff --git a/sys-libs/libspe/libspe-1.1.0.ebuild b/sys-libs/libspe/libspe-1.1.0.ebuild
new file mode 100644
index 0000000..47d12af
--- /dev/null
+++ b/sys-libs/libspe/libspe-1.1.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://www.bsc.es/projects/deepcomputing/linuxoncell/stable/libspe.html"
+SRC_URI="http://www.bsc.es/projects/deepcomputing/linuxoncell/stable/libspe/${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"
+}
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..8d18156
--- /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"
+#}
diff --git a/sys-libs/libspe2/Manifest b/sys-libs/libspe2/Manifest
new file mode 100644
index 0000000..4762027
--- /dev/null
+++ b/sys-libs/libspe2/Manifest
@@ -0,0 +1,12 @@
+AUX spe.rc6 917 RMD160 49cb8dca654d84124e6ea731ca22a758826b45aa SHA1 c869608e0e5a9d76890e08c70326cc4d94c9f3f0 SHA256 ef29c26a1e1a820cf2939b3b0ec53a2f4039ab8d580f20f0c7783d7335de5ace
+MD5 6c88fba3ab8e587ff7531ff27fb764b2 files/spe.rc6 917
+RMD160 49cb8dca654d84124e6ea731ca22a758826b45aa files/spe.rc6 917
+SHA256 ef29c26a1e1a820cf2939b3b0ec53a2f4039ab8d580f20f0c7783d7335de5ace files/spe.rc6 917
+DIST libspe2-2.0.1.tar.bz2 67981 RMD160 f6a6dad2e5d700834a91421185669e82d69db3d6 SHA1 2e3dc35f6ba711c059ce92fe40520fdf53dd7f91 SHA256 958c18ce202dc50e19f09956153306a1647017b161a96fceffdbb870e7288612
+EBUILD libspe2-2.0.1.ebuild 1433 RMD160 cea60315638323389e481bed821ddcded023e18a SHA1 ced4a7d5993bbe6b383c530c1902fc12c5ab24bf SHA256 2a0ce359fb4e19c34130b913529a2a9f5b4b20c099001c63eadc283420308e0e
+MD5 fc3ea91558c888543a594809562c9c79 libspe2-2.0.1.ebuild 1433
+RMD160 cea60315638323389e481bed821ddcded023e18a libspe2-2.0.1.ebuild 1433
+SHA256 2a0ce359fb4e19c34130b913529a2a9f5b4b20c099001c63eadc283420308e0e libspe2-2.0.1.ebuild 1433
+MD5 c4b318dc740cbdd365627adaf7a3a869 files/digest-libspe2-2.0.1 241
+RMD160 2d3b976031e5f257c7186a3055d9704ea4789db5 files/digest-libspe2-2.0.1 241
+SHA256 b2cdb45db03e98ff94ffbdaf43adb0edf42bbb4a1dacfd593ae7fd69978e19b9 files/digest-libspe2-2.0.1 241
diff --git a/sys-libs/libspe2/files/digest-libspe2-2.0.1 b/sys-libs/libspe2/files/digest-libspe2-2.0.1
new file mode 100644
index 0000000..e1a16e6
--- /dev/null
+++ b/sys-libs/libspe2/files/digest-libspe2-2.0.1
@@ -0,0 +1,3 @@
+MD5 96b43953bf0a48188bb4721043029c14 libspe2-2.0.1.tar.bz2 67981
+RMD160 f6a6dad2e5d700834a91421185669e82d69db3d6 libspe2-2.0.1.tar.bz2 67981
+SHA256 958c18ce202dc50e19f09956153306a1647017b161a96fceffdbb870e7288612 libspe2-2.0.1.tar.bz2 67981
diff --git a/sys-libs/libspe2/files/spe.rc6 b/sys-libs/libspe2/files/spe.rc6
new file mode 100644
index 0000000..cd3870c
--- /dev/null
+++ b/sys-libs/libspe2/files/spe.rc6
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ # you need the elfspe bin
+ need localmount
+}
+
+start() {
+ ebegin "Registering elfspe to binfmt"
+
+ if test -f /proc/sys/fs/binfmt_misc/spe
+ then
+ eerror "elfspe already registered"
+ return 1
+ else
+ if test -f /proc/sys/fs/binfmt_misc/register
+ then
+ echo ':spe:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x17::/usr/bin/elfspe2:' >/proc/sys/fs/binfmt_misc/register
+ eend $?
+ else
+ eerror "binfmt not available"
+ return 1
+ fi
+ fi
+}
+
+stop() {
+ if ! test -f /proc/sys/fs/binfmt_misc/spe
+ then
+ eerror "elfspe not present"
+ return 1
+ else
+ echo -1 > /proc/sys/fs/binfmt_misc/spe
+ eend $?
+ fi
+}
diff --git a/sys-libs/libspe2/libspe2-2.0.1.ebuild b/sys-libs/libspe2/libspe2-2.0.1.ebuild
new file mode 100644
index 0000000..08539db
--- /dev/null
+++ b/sys-libs/libspe2/libspe2-2.0.1.ebuild
@@ -0,0 +1,58 @@
+# 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.bz2"
+
+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 all elfspe2-all CROSS="${CTARGET}-" prefix=/usr SYSROOT="$SYSROOT" ${myconf}
+}
+
+src_install() {
+ make CROSS="${CTARGET}-" prefix=/usr SYSROOT="$SYSROOT" \
+ DESTDIR="$D" install elfspe2-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"
+ ewarn "make sure your fstab contains the following line"
+ ewarn "none /spu spufs defaults
+ 0 0"
+ ewarn "and that you have spufs support enabled in the kernel"
+}