summaryrefslogtreecommitdiffstats
path: root/base/binutils/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-03-05 12:54:19 +0100
committertnut <thierryn1 at hispeed dot ch>2010-03-05 12:54:19 +0100
commit9a0c0778726873530be82a5b328e8a879b71590c (patch)
tree06a33c68f2077e6163e0a1b9a2e0b70c99164b5a /base/binutils/Pkgfile
parent1077f4320bd2c54957e7f8ca874916c51d7db858 (diff)
downloadnutyx-pakxe-9a0c0778726873530be82a5b328e8a879b71590c.tar.gz
nutyx-pakxe-9a0c0778726873530be82a5b328e8a879b71590c.tar.bz2
nutyx-pakxe-9a0c0778726873530be82a5b328e8a879b71590c.tar.xz
nutyx-pakxe-9a0c0778726873530be82a5b328e8a879b71590c.zip
Maj binutils#2.20.1-1
Diffstat (limited to 'base/binutils/Pkgfile')
-rwxr-xr-xbase/binutils/Pkgfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/base/binutils/Pkgfile b/base/binutils/Pkgfile
index ca19bdd33..4b2e56ab0 100755
--- a/base/binutils/Pkgfile
+++ b/base/binutils/Pkgfile
@@ -2,11 +2,10 @@
# URL: http://sources.redhat.com/binutils/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=binutils
-version=2.19.1
-release=2
+version=2.20.1
+release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
@@ -24,13 +23,11 @@ cd ../binutils-build
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared
-sed -i -e "s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share:" Makefile
-sed -i -e "s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share:" Makefile
make tooldir=/usr
make check
make tooldir=/usr DESTDIR=$PKG install
cp ../$name-$version/include/libiberty.h $PKG/usr/include
-rm -rf $PKG/usr/info
+rm $PKG/usr/share/info/dir
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
}