diff options
author | Joseph Jezak <josejx@gentoo.org> | 2008-12-26 14:58:21 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2008-12-26 14:58:21 +0000 |
commit | 1414c8a78c350c3ea4d885eab90544ca7b238858 (patch) | |
tree | 22893a1ccc576ed817117eec0a7529720d3418a8 | |
parent | Remove old version (diff) | |
download | gentoo-2-1414c8a78c350c3ea4d885eab90544ca7b238858.tar.gz gentoo-2-1414c8a78c350c3ea4d885eab90544ca7b238858.tar.bz2 gentoo-2-1414c8a78c350c3ea4d885eab90544ca7b238858.zip |
Marked 2.2.80_p95 stable on ppc/ppc64. Added 2.3.0.135.
(Portage version: 2.1.4.5)
-rw-r--r-- | sys-libs/libspe2/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/libspe2/libspe2-2.3.0_p135.ebuild | 69 |
3 files changed, 80 insertions, 5 deletions
diff --git a/sys-libs/libspe2/ChangeLog b/sys-libs/libspe2/ChangeLog index 79ebbf9697a5..5c4f405fdb9a 100644 --- a/sys-libs/libspe2/ChangeLog +++ b/sys-libs/libspe2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libspe2 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.3 2007/12/12 01:35:33 lu_zero Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.4 2008/12/26 14:58:21 josejx Exp $ + +*libspe2-2.3.0_p135 (26 Dec 2008) + + 26 Dec 2008; Joseph Jezak <josejx@gentoo.org> + libspe2-2.2.80_p95-r1.ebuild, +libspe2-2.3.0_p135.ebuild: + Marked 2.2.80_p95 stable on ppc/ppc64. Added 2.3.0.135. 12 Dec 2007; Luca Barbato <lu_zero@gentoo.org> libspe2-2.2.80_p95-r1.ebuild: diff --git a/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild b/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild index 4dfc1d355150..218a20758af8 100644 --- a/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild +++ b/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v 1.2 2007/12/12 01:35:33 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v 1.3 2008/12/26 14:58:21 josejx Exp $ inherit eutils MY_P=${P/_p/-} @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~ppc ~ppc64" +KEYWORDS="ppc ppc64" IUSE="debug" S="${WORKDIR}/${P//_p*}" diff --git a/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild b/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild new file mode 100644 index 000000000000..47fa3ba8dd2f --- /dev/null +++ b/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild,v 1.1 2008/12/26 14:58:21 josejx Exp $ +inherit eutils + +MY_P=${P/_p/.} + +DESCRIPTION="A wrapper library to adapt the JSRE SPU usage model to SPUFS" +HOMEPAGE="http://sourceforge/projects/libspe" +SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~ppc ~ppc64" +IUSE="debug" + +S="${WORKDIR}/${P/_p*//}" + +DEPEND="" +# This packages also provides libspe1 +RDEPEND="!sys-libs/libspe" + +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 + cd "${S}" + echo "${S}" +} + +src_compile() { + myconf="" + use debug && myconf="${myconf} DEBUG=1" + make all elfspe-all CROSS="${CTARGET}-" \ + prefix=/usr SYSROOT="$SYSROOT" ${myconf} \ + speinclude=/usr/spu-elf/include || die +} + +src_install() { + make CROSS="${CTARGET}-" prefix=/usr \ + speinclude=/usr/spu-elf/include \ + SYSROOT="$SYSROOT" \ + DESTDIR="$D" install elfspe-install || die + newinitd "${FILESDIR}/spe.rc6" 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" +} |