From: | "Luca Barbato (lu_zero)" <lu_zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-libs/libspe2: ChangeLog libspe2-2.2.80_p95-r1.ebuild |
Date: | Sat, 27 Oct 2007 11:56:42 |
Message-Id: | E1IlkHH-00050l-SJ@stork.gentoo.org |
1 | lu_zero 07/10/27 11:56:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libspe2-2.2.80_p95-r1.ebuild |
5 | Log: |
6 | init.d fixed |
7 | (Portage version: 2.1.3.15) |
8 | |
9 | Revision Changes Path |
10 | 1.2 sys-libs/libspe2/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 25 Oct 2007 20:28:57 -0000 1.1 |
23 | +++ ChangeLog 27 Oct 2007 11:56:31 -0000 1.2 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-libs/libspe2 |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.1 2007/10/25 20:28:57 lu_zero Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.2 2007/10/27 11:56:31 lu_zero Exp $ |
29 | + |
30 | +*libspe2-2.2.80_p95-r1 (27 Oct 2007) |
31 | + |
32 | + 27 Oct 2007; Luca Barbato <lu_zero@g.o> files/spe.rc6, |
33 | + +libspe2-2.2.80_p95-r1.ebuild: |
34 | + init.d fixed |
35 | |
36 | *libspe2-2.2.80_p95 (25 Oct 2007) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libspe2-2.2.80_p95-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2007 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v 1.1 2007/10/27 11:56:31 lu_zero Exp $ |
51 | inherit eutils |
52 | |
53 | MY_P=${P/_p/-} |
54 | |
55 | DESCRIPTION="A wrapper library to adapt the JSRE SPU usage model to SPUFS" |
56 | HOMEPAGE="http://sourceforge/projects/libspe" |
57 | SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" |
58 | |
59 | LICENSE="LGPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~ppc ~ppc64" |
62 | IUSE="debug" |
63 | |
64 | S="${WORKDIR}/${P//_p*}" |
65 | |
66 | DEPEND="" |
67 | # This packages also provides libspe1 |
68 | RDEPEND="!sys-libs/libspe" |
69 | |
70 | export CBUILD=${CBUILD:-${CHOST}} |
71 | export CTARGET=${CTARGET:-${CHOST}} |
72 | |
73 | if [[ ${CTARGET} == ${CHOST} ]] ; then |
74 | if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
75 | export CTARGET=${CATEGORY/cross-} |
76 | fi |
77 | fi |
78 | |
79 | if [[ ${CTARGET} == ${CHOST} ]] ; then |
80 | SYSROOT="" |
81 | else |
82 | SYSROOT="/usr/${CTARGET}" |
83 | fi |
84 | |
85 | src_unpack () { |
86 | unpack ${A} |
87 | #just in case something is missing |
88 | cd "${S}" |
89 | } |
90 | |
91 | src_compile() { |
92 | myconf="" |
93 | use debug && myconf="${myconf} DEBUG=1" |
94 | make all elfspe-all CROSS="${CTARGET}-" \ |
95 | prefix=/usr SYSROOT="$SYSROOT" ${myconf} \ |
96 | speinclude=/usr/spu-elf/include |
97 | } |
98 | |
99 | src_install() { |
100 | make CROSS="${CTARGET}-" prefix=/usr \ |
101 | speinclude=/usr/spu-elf/include \ |
102 | SYSROOT="$SYSROOT" \ |
103 | DESTDIR="$D" install elfspe-install |
104 | newinitd "${FILESDIR}/spe.rc6" elfspe |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | einfo "You may want to register elfspe to binfmt using the" |
109 | einfo "provided initscript" |
110 | einfo "# rc-update add elfspe boot" |
111 | ewarn "make sure your fstab contains the following line" |
112 | ewarn "none /spu spufs defaults |
113 | 0 0" |
114 | ewarn "and that you have spufs support enabled in the kernel" |
115 | } |
116 | |
117 | |
118 | |
119 | -- |
120 | gentoo-commits@g.o mailing list |