blob: e497b04523b977b05520c3e26dd2dbacfb461141 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
#
_pkgname=binutils
_target=mips64el-unknown-linux-gnu
_sysroot=/usr/lib/cross-${_target}
pkgname=cross-${_target}-binutils
pkgver=2.21
pkgrel=1
pkgdesc="A set of programs to assemble and manipulate binary and object files for cross ${_target}"
license=('GPL')
arch=('i686' 'x86_64')
source=(http://ftp.gnu.org/gnu/$_pkgname/$_pkgname-$pkgver.tar.bz2)
groups=('cross-mips64el')
depends=('glibc>=2.13' 'zlib')
makedepends=('dejagnu')
options=('!libtool' '!distcc' '!ccache')
build() {
cd ${srcdir}
mkdir binutils-build
cd binutils-build
$srcdir/$_pkgname-$pkgver/configure \
--prefix=$_sysroot \
--target=$_target \
--program-prefix=$_target- \
--with-sysroot=$_sysroot \
--disable-nls \
--disable-werror
make
}
check() {
cd ${srcdir}/binutils-build
# do not abort on errors - manually check log files
make -k -j1 check || true
}
package() {
cd ${srcdir}/binutils-build
make DESTDIR=${pkgdir} install
}
md5sums=('c84c5acc9d266f1a7044b51c85a823f5')
|