1 # Maintainer: Tetsumaki <http://goo.gl/YMBdA>
6 pkgdesc="GNU toolchain for cross-compiling to Cell Broadband Engine's PPU"
8 url="http://ftp.gnu.org/gnu/binutils/"
10 install=${pkgname}.install
11 source=(http://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2)
12 sha256sums=('228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8')
15 cd "${srcdir}/binutils-${pkgver}"
16 ./configure --prefix=/usr/lib/cell/toolchain \
17 --disable-shared --disable-nls --disable-werror --disable-includedir --disable-infodir \
18 --program-prefix=ppu- \
20 --target=powerpc64-linux-gnu \
21 --enable-targets=spu \
22 --mandir=/usr/share/man \
23 --libdir=/usr/lib/cell/toolchain/powerpc64-linux-gnu/lib \
24 --includedir=/usr/lib/cell/toolchain/powerpc64-linux-gnu/include
26 make DESTDIR="${pkgdir}/" install || return 1