29 lines
896 B
Bash
29 lines
896 B
Bash
# Template file for 'cross-${_triplet}-${_pkgname}'
|
|
_triplet=arm-none-eabi
|
|
_pkgname=newlib
|
|
pkgname=cross-${_triplet}-${_pkgname}
|
|
version=3.1.0.20181231
|
|
revision=1
|
|
wrksrc="${_pkgname}-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="
|
|
--disable-newlib-supplied-syscalls
|
|
--disable-nls
|
|
--enable-interwork
|
|
--enable-newlib-io-long-long
|
|
--enable-newlib-register-fini
|
|
--host=${XBPS_CROSS_TRIPLET}
|
|
--prefix=/usr
|
|
--target=${_triplet}
|
|
--with-gnu-as
|
|
--with-gnu-ld
|
|
"
|
|
hostmakedepends="cross-arm-none-eabi-binutils cross-arm-none-eabi-gcc"
|
|
short_desc="C library intended for use on embedded systems"
|
|
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.sourceware.org/${_pkgname}/"
|
|
distfiles="ftp://sources.redhat.com/pub/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
|
checksum=9e12fea7297648b114434033ed4458755afe7b9b6c7d58123389e82bd37681c0
|
|
nostrip=yes
|