[arch-commits] Commit in binutils/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Mon Oct 19 13:15:56 UTC 2009


    Date: Monday, October 19, 2009 @ 09:15:56
  Author: allan
Revision: 56091

upgpkg: binutils 2.20-1
    upstream update

Modified:
  binutils/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++----------------------
 1 file changed, 16 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-19 13:11:10 UTC (rev 56090)
+++ PKGBUILD	2009-10-19 13:15:56 UTC (rev 56091)
@@ -1,39 +1,36 @@
 # $Id$
 # Maintainer: Allan McRae <allan at archlinux.org>
 
-# toolchain build order: kernel-headers->glibc->binutils->gcc-libs->gcc->binutils->glibc
+# toolchain build order: kernel-headers->glibc->binutils->gcc->binutils->glibc
 
 pkgname=binutils
-pkgver=2.19.1
-pkgrel=5
-_date=20090419
+pkgver=2.20
+pkgrel=1
+_date=20091018
 pkgdesc="A set of programs to assemble and manipulate binary and object files"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/binutils/"
 license=('GPL')
 groups=('base')
-depends=('glibc>=2.10.1-3' 'zlib')
+depends=('glibc>=2.10.1-5' 'zlib')
 options=('!libtool' '!distcc' '!ccache')
 install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2
-        binutils-2.19-as-needed.patch)
-md5sums=('18db08329c4a1a22ec57ea4c0d7440a6'
-         'f6fd22284040a0b05e74ed2ff504a6d9')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
+md5sums=('5dcd7069793386a91882aeb61ebec788')
 
 build() {
   # for cvs checkout
-  mkdir ${srcdir}/${pkgname}-${_date}
-  cd ${srcdir}/${pkgname}-${_date}
-  export _TAG=binutils-2_19-branch
-  export 'CVSROOT=:pserver:anoncvs at sourceware.org:/cvs/src'
-#  cvs -z9 co -r $_TAG binutils || return 1
-#  cd src && tar -cvjf ${startdir}/binutils-${pkgver}_${_date}.tar.bz2 *
-#  return 1
+  #mkdir ${srcdir}/${pkgname}-${_date}
+  #cd ${srcdir}/${pkgname}-${_date}
+  #export _TAG=binutils-2_20-branch
+  #export 'CVSROOT=:pserver:anoncvs at sourceware.org:/cvs/src'
+  #cvs -z9 co -r $_TAG binutils || return 1
+  #cd src && tar -cvjf ${startdir}/binutils-${pkgver}_${_date}.tar.bz2 *
+  #return 1
 
   cd ${srcdir}
-
-  patch -Np1 -i binutils-2.19-as-needed.patch
-
+  sed -i "s#2.20#2.20.0#" bfd/configure
+  
   mkdir build
   cd build
 
@@ -73,7 +70,4 @@
   rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
   echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
   echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-
-  rm -f ${pkgdir}/usr/share/info/dir
-  gzip -9 ${pkgdir}/usr/share/info/*
 }




More information about the arch-commits mailing list