Commit 88d8cf36 authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Milan P. Stanić
Browse files

testing/binutils-cross-embedded: upgrade to 2.33.1

- Upgrade to 2.33.1
- Removed unneeded curly braces throughout the APKBUILD
parent 70a4a103
......@@ -7,24 +7,24 @@ _targets="
msp430-elf
"
pkgname="$_pkgbase-cross-embedded"
pkgver=2.32
pkgver=2.33.1
pkgrel=0
pkgdesc="Tools necessary to build programs for embedded targets"
url="http://www.gnu.org/software/${_pkgbase}/"
url="http://www.gnu.org/software/$_pkgbase/"
makedepends="gettext libtool autoconf automake bison zlib-dev"
arch="all"
license="GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD"
for target in $_targets; do
targetnorm="${target//-/_}"
subpackages="${_pkgbase}-${target}:${targetnorm} ${subpackages}"
subpackages="$_pkgbase-$target:$targetnorm $subpackages"
done
source="http://ftp.gnu.org/gnu/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2"
source="http://ftp.gnu.org/gnu/$_pkgbase/$_pkgbase-$pkgver.tar.bz2"
builddir="$srcdir/${_pkgbase}-$pkgver"
builddir="$srcdir/$_pkgbase-$pkgver"
build() {
for target in $_targets; do
workingdir="${srcdir}/build-${target}"
workingdir="$srcdir/build-$target"
mkdir "$workingdir"
cd "$workingdir"
"$builddir"/configure \
......@@ -49,7 +49,7 @@ build() {
check() {
for target in $_targets; do
workingdir="${srcdir}/build-${target}"
workingdir="$srcdir/build-$target"
cd "$workingdir"
make check
done
......@@ -59,13 +59,13 @@ package() {
for target in $_targets; do
depends="$depends $_pkgbase-$target"
done
mkdir -p "${pkgdir}"
mkdir -p "$pkgdir"
}
_install_subpkg() {
target="${subpkgname#${_pkgbase}-}"
pkgdesc="Tools necessary to build programs for ${target}"
workingdir="${srcdir}/build-${target}"
target="${subpkgname#$_pkgbase-}"
pkgdesc="Tools necessary to build programs for $target"
workingdir="$srcdir/build-$target"
cd "$workingdir"
make install DESTDIR="$subpkgdir"
rm -rf "$subpkgdir"/deleteme
......@@ -98,4 +98,4 @@ xtensa_lx106_elf() {
_install_subpkg
}
sha512sums="99ec7ed2b5ebfd3ac16cecb1567ec4a72f81ac30717002d601708f7547b2f8122ffcce076c986f22894aede33c54c73012210a4e973ba9b6e2d87a242a2bee12 binutils-2.32.tar.bz2"
sha512sums="bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87 binutils-2.33.1.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment