1 # Maintainer: Matias De la Puente <mfpuente.ar@gmail.com>
2 # based on 'cross-arm-elf-newlib' by Andreas Messer <andi@surveycorner.de>
4 pkgname=cross-arm-none-eabi-newlib
7 pkgdesc="Newlib is a C library intended for use on embedded systems."
10 url="http://sourceware.org/newlib/"
12 depends=('cross-arm-none-eabi-binutils' 'cross-arm-none-eabi-gcc-base')
13 options=(!libtool !emptydirs !strip)
14 source=(ftp://sources.redhat.com/pub/newlib/newlib-${pkgver}.tar.gz)
15 sha256sums=('4f43807236b2274c220881ca69f7dc6aecc52f14bb32a6f03404d30780c25007')
26 ../newlib-${pkgver}/configure \
27 --target=arm-none-eabi \
34 --disable-nls || return 1
37 make -j1 DESTDIR=${pkgdir} install || return 1
39 rm -rf ${pkgdir}/usr/share/info