From 914558247af5d38b76a8635f9d18c4ed4b468bc0 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 7 Dec 2011 14:17:54 +0100 Subject: [PATCH] binutils: update to 2.22 --- binutils/.md5sum | 2 +- binutils/Pkgfile | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/binutils/.md5sum b/binutils/.md5sum index 87896ed..a4742f0 100644 --- a/binutils/.md5sum +++ b/binutils/.md5sum @@ -1 +1 @@ -2b9dc8f2b7dbd5ec5992c6e29de0b764 binutils-2.20.1a.tar.bz2 +ee0f10756c84979622b992a4a61ea3f5 binutils-2.22.tar.bz2 diff --git a/binutils/Pkgfile b/binutils/Pkgfile index e00e17d..6784101 100644 --- a/binutils/Pkgfile +++ b/binutils/Pkgfile @@ -5,23 +5,23 @@ # Depends on: zlib name=binutils -version=2.20.1 +version=2.22 release=1 -source=(ftp://ftp.gnu.org/gnu/$name/$name-${version}a.tar.bz2) +source=(ftp://ftp.gnu.org/gnu/$name/$name-${version}.tar.bz2) build() { - sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in - sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in - mkdir build - cd build - ../$name-$version/configure --prefix=/usr \ - --mandir=/usr/man \ - --enable-shared \ - --disable-nls - make tooldir=/usr - make check - make tooldir=/usr DESTDIR=$PKG install - install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include - rm -r $PKG/usr/share - sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la + sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in + sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in + mkdir build + cd build + ../$name-$version/configure --prefix=/usr \ + --build=$MACHTYPE \ + --mandir=/usr/man \ + --enable-shared \ + --disable-nls + make tooldir=/usr + make tooldir=/usr DESTDIR=$PKG install + install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include + rm -r $PKG/usr/share + sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la } -- 2.26.2