aboutsummaryrefslogtreecommitdiffstats
path: root/core/binutils/APKBUILD
blob: caed3abcdc6bbf7b448250b97a4176a6ee377051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=binutils
pkgver=2.19.51.0.9
pkgdesc="Tools necessary to build programs"
url=http://sources.redhat.com/binutils
source=ftp://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
	make install DESTDIR="$pkgdir" 
}
md5sums="023a3d0f50a18fdebcd5b0a50c8e41ad  binutils-2.19.51.0.9.tar.bz2"