summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-12-16 07:25:05 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-12-16 07:25:05 +0000
commitd3b6108a283b3ff771431d600899fea95925a8ca (patch)
treeb60ba95364325f4fdab8aef48994a6d163d04155 /app-misc
parentinitscript for spe fixed (diff)
downloadlu_zero-d3b6108a283b3ff771431d600899fea95925a8ca.tar.gz
lu_zero-d3b6108a283b3ff771431d600899fea95925a8ca.tar.bz2
lu_zero-d3b6108a283b3ff771431d600899fea95925a8ca.zip
try 3
svn path=/; revision=73
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/spe-samples/Manifest8
-rw-r--r--app-misc/spe-samples/spe-samples-1.0.ebuild13
2 files changed, 16 insertions, 5 deletions
diff --git a/app-misc/spe-samples/Manifest b/app-misc/spe-samples/Manifest
index 2d983a4..88be4c7 100644
--- a/app-misc/spe-samples/Manifest
+++ b/app-misc/spe-samples/Manifest
@@ -1,8 +1,8 @@
DIST spe-samples-1.0.tar.bz2 820918 RMD160 dbc5be9787c58cf02532c03ed9011d539c4b061e SHA1 d021ce98bff192948d571d1ac1d2c9ac93abdce3 SHA256 e055455dfc68d07c1693f405c270f4a35b92f2d208de052b09bdca171e4cc298
-EBUILD spe-samples-1.0.ebuild 450 RMD160 f9ed73603a193bc3393051ad4f788d540045f5f4 SHA1 8d40a50731ed49c42d7a0328e45a89b60421db28 SHA256 efccb018bb73e2fa59e4227fd7b496838a1d7892b683de680d183c99343e4659
-MD5 9e69f0a509a34c57108933e242efbfb0 spe-samples-1.0.ebuild 450
-RMD160 f9ed73603a193bc3393051ad4f788d540045f5f4 spe-samples-1.0.ebuild 450
-SHA256 efccb018bb73e2fa59e4227fd7b496838a1d7892b683de680d183c99343e4659 spe-samples-1.0.ebuild 450
+EBUILD spe-samples-1.0.ebuild 728 RMD160 2a0aae2dfba96f5191692ce244affdd027ce8ae6 SHA1 bc96c6dd397bffccc68c4cf3d9a7ceb5c24c6bd7 SHA256 7e74604fa6606be207e88308d2d5e0849d946a4ae75ea8a10c63387e177b6df2
+MD5 65f2a8635fe5cc7375d73d1bc2e4f41a spe-samples-1.0.ebuild 728
+RMD160 2a0aae2dfba96f5191692ce244affdd027ce8ae6 spe-samples-1.0.ebuild 728
+SHA256 7e74604fa6606be207e88308d2d5e0849d946a4ae75ea8a10c63387e177b6df2 spe-samples-1.0.ebuild 728
MD5 b8168f24b7ee19f1c4587f1e9552c017 files/digest-spe-samples-1.0 250
RMD160 19d6156f7114fd4791b2035e9e38fa282d627559 files/digest-spe-samples-1.0 250
SHA256 76f437d48c38a4e1faa98de5e499c0fe1119ee7625320c32da5b567717e16b7a files/digest-spe-samples-1.0 250
diff --git a/app-misc/spe-samples/spe-samples-1.0.ebuild b/app-misc/spe-samples/spe-samples-1.0.ebuild
index 1c9cdd5..0282957 100644
--- a/app-misc/spe-samples/spe-samples-1.0.ebuild
+++ b/app-misc/spe-samples/spe-samples-1.0.ebuild
@@ -8,14 +8,25 @@ SRC_URI="http://dev.gentoo.org/~lu_zero/distfiles/spe-samples-1.0.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc"
+KEYWORDS="~ppc ~ppc64"
IUSE=""
DEPEND=">=sys-libs/libspe2-2.0"
RDEPEND=""
+# fixme: provide an spu eclass to do basic checks and autostuff fixes
+
src_unpack() {
unpack ${A}
# make sure it uses the right compiler.
sed -i -e "s:spu-gcc:spu-elf-gcc:g" ${S}/*/spe/configure*
+ # fixme: kill c++/fortran checks!
+}
+
+src_compile() {
+ # just to be sure
+ unset CFLAGS
+ unset CXXFLAGS
+ ./configure --prefix=/usr || die "configure failed"
+ emake || die "build failed"
}