[arch-commits] Commit in binutils/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Nov 1 11:30:03 UTC 2009
Date: Sunday, November 1, 2009 @ 06:30:03
Author: allan
Revision: 57658
upgpkg: binutils 2.20-2
glibc-2.11 toolchain rebuild, grab latest from 2.20 branch
Modified:
binutils/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-01 11:24:56 UTC (rev 57657)
+++ PKGBUILD 2009-11-01 11:30:03 UTC (rev 57658)
@@ -5,34 +5,31 @@
pkgname=binutils
pkgver=2.20
-pkgrel=1
-_date=20091018
+pkgrel=2
+_date=20091101
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-5' 'zlib')
+depends=('glibc>=2.11' 'zlib')
options=('!libtool' '!distcc' '!ccache')
install=binutils.install
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('5dcd7069793386a91882aeb61ebec788')
+md5sums=('df0781f66c7be07f1d54e79ee61d3b37')
-build() {
- # for cvs checkout
- #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
+mksource() {
+ mkdir ${pkgname}-${_date}
+ cd ${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 ../../binutils-${pkgver}_${_date}.tar.bz2 *
+}
+build() {
cd ${srcdir}
- sed -i "s#2.20#2.20.0#" bfd/configure
-
- mkdir build
- cd build
+ mkdir build && cd build
CC="gcc -L`pwd`/bfd/.libs/"
if [ "${CARCH}" = "x86_64" ]; then
More information about the arch-commits
mailing list