summaryrefslogtreecommitdiffstats
path: root/binutils/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-22 20:39:24 +0000
committerpiernov <piernov@piernov.org>2012-02-22 20:39:24 +0000
commit45c8c115d59f76c1d48591b5002799b479a57d4e (patch)
treefdd5e6ca11d9d027681a02289ea3fcacf520d07a /binutils/Pkgfile
parent52a0f10bade6f7ea277212b267a3d8437b76d2f9 (diff)
downloadnutyx-pakxe-45c8c115d59f76c1d48591b5002799b479a57d4e.tar.gz
nutyx-pakxe-45c8c115d59f76c1d48591b5002799b479a57d4e.tar.bz2
nutyx-pakxe-45c8c115d59f76c1d48591b5002799b479a57d4e.tar.xz
nutyx-pakxe-45c8c115d59f76c1d48591b5002799b479a57d4e.zip
binutils 2.22-1 màj port
Diffstat (limited to 'binutils/Pkgfile')
-rwxr-xr-xbinutils/Pkgfile32
1 files changed, 16 insertions, 16 deletions
diff --git a/binutils/Pkgfile b/binutils/Pkgfile
index 587f1c66e..39905c47b 100755
--- a/binutils/Pkgfile
+++ b/binutils/Pkgfile
@@ -4,26 +4,26 @@
# Packager: thierryn1 at hispeed dot ch
name=binutils
-version=2.21.1
+version=2.22
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
-cd $name-$version
+ cd $name-$version
-rm -fv etc/standards.info
-sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
+ rm -fv etc/standards.info
+ sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
-mkdir ../binutils-build
-cd ../binutils-build
-../$name-$version/configure --prefix=/usr \
---mandir=/usr/share/man \
---infodir=/usr/share/info \
---enable-shared
-make tooldir=/usr
-make -k check||true
-make tooldir=/usr DESTDIR=$PKG install
-cp ../$name-$version/include/libiberty.h $PKG/usr/include
-rm $PKG/usr/share/info/dir
-sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
+ mkdir ../binutils-build
+ cd ../binutils-build
+ ../binutils-$version/configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared
+ make tooldir=/usr
+ make -k check||true
+ make tooldir=/usr DESTDIR=$PKG install
+ cp ../$name-$version/include/libiberty.h $PKG/usr/include
+ rm $PKG/usr/share/info/dir
+ sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
}