diff --git a/srcpkgs/cross-arm-none-eabi-binutils/template b/srcpkgs/cross-arm-none-eabi-binutils/template new file mode 100644 index 00000000000..3bee321d7c8 --- /dev/null +++ b/srcpkgs/cross-arm-none-eabi-binutils/template @@ -0,0 +1,37 @@ +# 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 " +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 +}