From 7251bdc1c3fdeec4483eb2cde25b9354f5143fd3 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 11 Dec 2024 23:16:23 +0100 Subject: [PATCH] New package: cross-bpf-binutils-2.44 --- srcpkgs/cross-bpf-binutils/template | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 srcpkgs/cross-bpf-binutils/template diff --git a/srcpkgs/cross-bpf-binutils/template b/srcpkgs/cross-bpf-binutils/template new file mode 100644 index 00000000000..4c9aa7294d1 --- /dev/null +++ b/srcpkgs/cross-bpf-binutils/template @@ -0,0 +1,37 @@ +# Template file for 'cross-bpf-binutils' +_triplet=bpf +_pkgname=binutils +pkgname=cross-${_triplet}-${_pkgname} +version=2.44 +revision=1 +build_style=gnu-configure +configure_args=" + --disable-nls + --enable-deterministic-archives + --enable-interwork + --enable-ld + --enable-multilib + --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="Leah Neukirchen " +license="GPL-3.0-or-later" +homepage="https://www.gnu.org/software/binutils/" +distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz" +checksum=ce2017e059d63e67ddb9240e9d4ec49c2893605035cd60e92ad53177f4377237 +nocross=yes + +post_install() { + rm -f ${DESTDIR}/usr/lib/bfd-plugins/libdep.* + rm -fr ${DESTDIR}/usr/share/info +}