diff options
Diffstat (limited to 'sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild')
-rw-r--r-- | sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild new file mode 100644 index 000000000000..403c5158753a --- /dev/null +++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +MY_P=${P/_p/-} + +DESCRIPTION="CELL spu ps and top alike utilities" +HOMEPAGE="http://sourceforge.net/projects/libspe" +SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~ppc64" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND} + sys-apps/help2man" + +S="${WORKDIR}/${PN}/src" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-buildsystem.patch \ + "${FILESDIR}"/${P}-format-security.patch + tc-export CC + export CFLAGS="${CFLAGS}" + export LDFLAGS="${LDFLAGS}" + export LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" +} |