New package: cross-bpf-binutils-2.44
This commit is contained in:
parent
957b7ca8bb
commit
7251bdc1c3
1 changed files with 37 additions and 0 deletions
37
srcpkgs/cross-bpf-binutils/template
Normal file
37
srcpkgs/cross-bpf-binutils/template
Normal file
|
@ -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 <leah@vuxu.org>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue