diff options
author | Pedro Filipe <xpecex@outlook.com> | 2018-10-04 20:00:16 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-05 06:16:58 +0000 |
commit | 1ef303f721298df54284b788892568e1f75dc4ad (patch) | |
tree | 44a6dbdcca85662612a9f71d2211384b66e48fdf /community | |
parent | b968079acba6e6e834087034e722d93dbbbfb6f0 (diff) | |
download | aports-1ef303f721298df54284b788892568e1f75dc4ad.tar.bz2 aports-1ef303f721298df54284b788892568e1f75dc4ad.tar.xz |
community/binutils-avr: upgrade to 2.31.1
Diffstat (limited to 'community')
-rw-r--r-- | community/binutils-avr/APKBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/community/binutils-avr/APKBUILD b/community/binutils-avr/APKBUILD index d1fbf8ddac..c74cccc001 100644 --- a/community/binutils-avr/APKBUILD +++ b/community/binutils-avr/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Stefan Wagner <stw@bit-strickerei.de> # Maintainer: Stefan Wagner <stw@bit-strickerei.de> pkgname=binutils-avr -pkgver=2.30 +pkgver=2.31.1 pkgrel=0 pkgdesc="Tools necessary to build programs for AVR targets" url="https://www.gnu.org/software/binutils/" @@ -16,7 +16,7 @@ builddir="$srcdir/binutils-$pkgver" _workingdir="$srcdir/binutils-build" build() { - mkdir "$_workingdir" || return 1 + mkdir "$_workingdir" cd "$_workingdir" "$builddir"/configure \ --build="$CBUILD" \ @@ -28,19 +28,23 @@ build() { --enable-plugins \ --disable-multilib \ --disable-werror \ - --disable-nls \ - || return 1 + --disable-nls make -j1 tooldir=/usr } +check() { + cd "$_workingdir" + make check +} + package() { cd "$_workingdir" - make tooldir=/usr install DESTDIR="$pkgdir" || return 1 + make tooldir=/usr install DESTDIR="$pkgdir" rm -rf "$pkgdir"/usr/share/info for bin in ar as nm objcopy objdump ranlib strip readelf; do rm -f "$pkgdir"/usr/bin/"$bin" done } -sha512sums="c3ce91aa20f058ec589bf18c722bf651331b394db6378900cc813cc0eea3a331a96584d5ae090630b627369510397dccc9edfcd43d4aeefc99579f277a05c72c binutils-2.30.tar.bz2 +sha512sums="b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd binutils-2.31.1.tar.bz2 ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch" |