CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
binutils: update to 2.22
authorVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:17:54 +0000 (14:17 +0100)
committerVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:17:54 +0000 (14:17 +0100)
binutils/.md5sum
binutils/Pkgfile

index 87896eda8365b33ae7cfd0de70a57654948eed14..a4742f0063feeda4e7baab7c517636659fd3f427 100644 (file)
@@ -1 +1 @@
-2b9dc8f2b7dbd5ec5992c6e29de0b764  binutils-2.20.1a.tar.bz2
+ee0f10756c84979622b992a4a61ea3f5  binutils-2.22.tar.bz2
index e00e17d3af0b8cbe62baa382f771d0c37cf3e397..67841011d60352d94f964b89d06d13c289103d24 100644 (file)
@@ -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
 }