CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gcc: updated to 4.7.4
[ports/core-arm.git] / binutils / Pkgfile
index fe8885f104239435cf38b40cf7cf8b95fcddf0bf..bd5a1e175b6f572a0fc940b6e08294bd0a095f26 100644 (file)
@@ -5,13 +5,13 @@
 # Depends on: zlib
 
 name=binutils
-version=2.22
+version=2.23.2
 release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-${version}.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 \
@@ -20,6 +20,7 @@ build() {
                               --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