void-packages/srcpkgs/cross-arm-none-eabi-binutils/template

38 lines
948 B
Bash

# Template file for 'cross-${_triplet}-${_pkgname}'
_triplet=arm-none-eabi
_pkgname=binutils
pkgname=cross-${_triplet}-${_pkgname}
version=2.32
revision=2
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"
depends="binutils-doc"
short_desc="GNU binary utilities"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}