void-packages/srcpkgs/cross-arm-none-eabi-binutils/template
Ivan Sokolov 539ed31ffd
cross-arm-none-eabi-binutils: add dependency on documentation
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-31 16:36:14 +02:00

38 lines
984 B
Bash

# Template file for 'cross-${_triplet}-${_pkgname}'
_triplet=arm-none-eabi
_pkgname=binutils
pkgname=cross-${_triplet}-${_pkgname}
version=2.32
revision=2
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"
depends="binutils-doc"
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
}