1 # Description: The GNU Binutils are a collection of binary tools
2 # URL: http://sources.redhat.com/binutils/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: zlib flex
10 source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2)
13 sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
18 ../$name-$version/configure --prefix=/usr \
19 --build=arm-unknown-linux-gnueabihf \
25 --enable-install-libiberty \
30 make tooldir=/usr DESTDIR=$PKG install
32 rm -r $PKG/usr/share/info
33 sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.la