summaryrefslogtreecommitdiffstats
path: root/base/binutils/Pkgfile
diff options
context:
space:
mode:
authorsibel <sibel@free.fr>2010-03-05 13:31:35 +0100
committersibel <sibel@free.fr>2010-03-05 13:31:35 +0100
commitb39a5785da8f6058dedd1599abca9552ef2a1f44 (patch)
treeeb365f400440f79c974e968a595000ca53734f6c /base/binutils/Pkgfile
parent78a2390aa00d1e9dce6e30dc48b666833ee48b6b (diff)
parenta984f4b016a50433aa84b027d7ad957e0cb75a2c (diff)
downloadnutyx-extra-b39a5785da8f6058dedd1599abca9552ef2a1f44.tar.gz
nutyx-extra-b39a5785da8f6058dedd1599abca9552ef2a1f44.tar.bz2
nutyx-extra-b39a5785da8f6058dedd1599abca9552ef2a1f44.tar.xz
nutyx-extra-b39a5785da8f6058dedd1599abca9552ef2a1f44.zip
Merge remote branch 'nutyx-2009/master'
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
}