* update powerpc64le-unknown-linux-gnu-binutils to 2.43.1-1
This commit is contained in:
parent
25bd1a8515
commit
35663a0160
@ -0,0 +1,22 @@
|
||||
pkgbase = powerpc64le-unknown-linux-gnu-binutils
|
||||
pkgdesc = Assemble and manipulate binary and object files for riscv64
|
||||
pkgver = 2.43.1
|
||||
pkgrel = 1
|
||||
url = https://gnu.org/software/binutils/
|
||||
arch = x86_64
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = GPL
|
||||
makedepends = git
|
||||
makedepends = setconf
|
||||
depends = glibc
|
||||
depends = zlib
|
||||
depends = libelf
|
||||
depends = jansson
|
||||
source = git+https://sourceware.org/git/binutils-gdb.git#commit=beb2cdbcda911764b2bed5e57921fe90493260bd
|
||||
source = gold-warn-unsupported.patch
|
||||
sha256sums = 47cedf324f140726c948191c0e8ca697ba76df9cf7f0007f5e3bd044f3af5f42
|
||||
sha256sums = 2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4
|
||||
|
||||
pkgname = powerpc64le-unknown-linux-gnu-binutils
|
@ -5,9 +5,9 @@
|
||||
|
||||
_target=powerpc64le-unknown-linux-gnu
|
||||
pkgname=$_target-binutils
|
||||
pkgver=2.41
|
||||
_commit=31b78cc991781265d9404bd55151691bedd6d556
|
||||
pkgrel=3.1
|
||||
pkgver=2.43.1
|
||||
_commit=beb2cdbcda911764b2bed5e57921fe90493260bd
|
||||
pkgrel=1
|
||||
pkgdesc='Assemble and manipulate binary and object files for riscv64'
|
||||
arch=(x86_64 powerpc64 powerpc riscv64)
|
||||
url='https://gnu.org/software/binutils/'
|
||||
@ -16,8 +16,13 @@ depends=(glibc zlib libelf jansson)
|
||||
makedepends=(git setconf)
|
||||
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||
gold-warn-unsupported.patch)
|
||||
sha512sums=('SKIP'
|
||||
'5d827b349b4456f8314776f1545396945c751b822a77604157b3fe436e5ff82bb313af3a215c99fd9d1f1f8ebb9f92033cc1a4968e35734619ad28b9bb3839a7')
|
||||
sha256sums=('47cedf324f140726c948191c0e8ca697ba76df9cf7f0007f5e3bd044f3af5f42'
|
||||
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
|
||||
|
||||
pkgver() {
|
||||
cd binutils-gdb
|
||||
git describe --tags | sed 's/[^-]*-//;s/[^-]*-/&r/;s/-/+/g;s/_/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}
|
||||
@ -55,6 +60,11 @@ build() {
|
||||
--enable-colored-disassembly \
|
||||
--enable-targets=no
|
||||
make
|
||||
|
||||
# Extract the FSF All Permissive License
|
||||
# <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
|
||||
# used for some linker scripts.
|
||||
tail -n 5 "${srcdir}"/binutils-gdb/ld/scripttempl/README > FSFAP
|
||||
}
|
||||
|
||||
check() {
|
||||
@ -75,6 +85,9 @@ package() {
|
||||
rm "$pkgdir/usr/include/gdb/jit-reader.h"
|
||||
|
||||
rm "$pkgdir"/usr/lib/bfd-plugins/libdep.so
|
||||
|
||||
# install FSF All Permissive License
|
||||
install -Dm644 -t "${pkgdir}"/usr/share/licenses/${pkgname}/ binutils-gdb/FSFAP
|
||||
}
|
||||
|
||||
# getver: gnu.org/software/binutils
|
||||
|
Loading…
x
Reference in New Issue
Block a user