# Maintainer: Natanael Copa pkgname=binutils pkgver=2.20.51.0.4 pkgdesc="Tools necessary to build programs" url=http://sources.redhat.com/binutils source="http://ftp.kernel.org/pub/linux/devel/binutils/$pkgname-$pkgver.tar.bz2" depends= makedepends="bison flex texinfo zlib-dev" license="GPL" subpackages="$pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --mandir /usr/share/man \ --build ${CHOST:-i486-alpine-linux-uclibc} \ --infodir /usr/share/info \ --enable-shared \ --enable-64-bit-bfd \ --disable-werror \ --disable-nls make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make install DESTDIR="$pkgdir" } md5sums="efcc89be7573fd3d8ec55236eebdf528 binutils-2.20.51.0.4.tar.bz2"