diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-12-16 21:34:56 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-12-16 21:34:56 +0000 |
commit | 2a274ff51bfb0e997686bf00c25dfee439ae3ae0 (patch) | |
tree | 5174818cc7ee7466c906350718f8b799350320bc | |
parent | other workarounds for autotools glitches (diff) | |
download | lu_zero-2a274ff51bfb0e997686bf00c25dfee439ae3ae0.tar.gz lu_zero-2a274ff51bfb0e997686bf00c25dfee439ae3ae0.tar.bz2 lu_zero-2a274ff51bfb0e997686bf00c25dfee439ae3ae0.zip |
Eventually building as should
svn path=/; revision=75
-rw-r--r-- | app-misc/spe-samples/Manifest | 12 | ||||
-rw-r--r-- | app-misc/spe-samples/spe-samples-1.0.ebuild | 13 |
2 files changed, 18 insertions, 7 deletions
diff --git a/app-misc/spe-samples/Manifest b/app-misc/spe-samples/Manifest index 88be4c7..e19d547 100644 --- a/app-misc/spe-samples/Manifest +++ b/app-misc/spe-samples/Manifest @@ -1,8 +1,12 @@ DIST spe-samples-1.0.tar.bz2 820918 RMD160 dbc5be9787c58cf02532c03ed9011d539c4b061e SHA1 d021ce98bff192948d571d1ac1d2c9ac93abdce3 SHA256 e055455dfc68d07c1693f405c270f4a35b92f2d208de052b09bdca171e4cc298 -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 +EBUILD spe-samples-1.0.ebuild 947 RMD160 fb720e5c404907b88d0f642013d13f0fa7394bfc SHA1 3f027417aa173999908b5745cf8e26ad7920c3d8 SHA256 dec805e251ef631124ac76117b03a64cc15f1370c36e6be92c7f120e733565b1 +MD5 ccff10d594bf700e07b8b029ba49519c spe-samples-1.0.ebuild 947 +RMD160 fb720e5c404907b88d0f642013d13f0fa7394bfc spe-samples-1.0.ebuild 947 +SHA256 dec805e251ef631124ac76117b03a64cc15f1370c36e6be92c7f120e733565b1 spe-samples-1.0.ebuild 947 +MISC cell-sdk-lib-samples-2.0-5.noarch.tar.gz 15139708 RMD160 14127ab9af012c37c39daa179ee82acc93fba2e8 SHA1 27b83dfc6af0c6d07de3f334b4b7cc76a2f9892d SHA256 7a1178f8d9627be1c9112862253887bb2c4805e3fa552601b4a82be80cd5ecdb +MD5 e77f4099c10de2a1be6d96ea0b2d8c06 cell-sdk-lib-samples-2.0-5.noarch.tar.gz 15139708 +RMD160 14127ab9af012c37c39daa179ee82acc93fba2e8 cell-sdk-lib-samples-2.0-5.noarch.tar.gz 15139708 +SHA256 7a1178f8d9627be1c9112862253887bb2c4805e3fa552601b4a82be80cd5ecdb cell-sdk-lib-samples-2.0-5.noarch.tar.gz 15139708 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 0638df3..cf8343d 100644 --- a/app-misc/spe-samples/spe-samples-1.0.ebuild +++ b/app-misc/spe-samples/spe-samples-1.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit libtool +inherit libtool autotools DESCRIPTION="Cell SPE examples" HOMEPAGE="" @@ -12,7 +12,8 @@ SLOT="0" KEYWORDS="~ppc ~ppc64" IUSE="" -DEPEND=">=sys-libs/libspe2-2.0" +DEPEND=">=sys-libs/libspe2-2.0 + >=sys-libs/libspe-1.2.0" RDEPEND="" # fixme: provide an spu eclass to do basic checks and autostuff fixes @@ -21,9 +22,11 @@ src_unpack() { unpack ${A} # make sure it uses the right compiler. sed -i -e "s:spu-gcc:spu-elf-gcc:g" ${S}/*/spe/configure* + # avoid wrong binary + sed -i -e "s:-m32::" ${S}/*/spe/Makefile.am # fixme: kill c++/fortran checks! cd ${S} - elibtoolize + eautoreconf } src_compile() { @@ -37,3 +40,7 @@ src_compile() { ./configure --prefix=/usr || die "configure failed" emake || die "build failed" } + +src_install() { + make DESTDIR=${D} install || die "install failed" +} |