void-packages/srcpkgs/cross-arm-none-eabi-binutils/template
2019-05-16 13:33:20 +02:00

37 lines
961 B
Bash

# Template file for 'cross-${_triplet}-${_pkgname}'
_triplet=arm-none-eabi
_pkgname=binutils
pkgname=cross-${_triplet}-${_pkgname}
version=2.32
revision=1
wrksrc="${_pkgname}-${version}"
build_style=gnu-configure
configure_args="
--disable-nls
--enable-deterministic-archives
--enable-interwork
--enable-ld
--enable-multilib
--enable-plugins
--host=${XBPS_CROSS_TRIPLET}
--prefix=/usr
--target=${_triplet}
--with-gnu-as
--with-gnu-ld
--with-sysroot=/usr/${_triplet}
--with-system-zlib
--without-isl
"
hostmakedepends="autoconf automake bison flex perl"
makedepends="zlib-devel"
short_desc="GNU binary utilities"
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/${_pkgname}/"
distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz"
checksum=0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
nocross=yes
post_install() {
rm -fr ${DESTDIR}/usr/share/info
}