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
10 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
11 $name-$version-branch_update-5.patch)
15 patch -p1 -i $SRC/$name-$version-branch_update-5.patch
16 sed -i '/^SUBDIRS/s/doc//' bfd/Makefile.in
22 $SRC/$name-$version/configure --build=$CHOST \
32 make tooldir=/usr DESTDIR=$PKG install
34 cp ../$name-$version/include/libiberty.h $PKG/usr/include
36 sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la