summaryrefslogtreecommitdiffstats
path: root/binutils/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 22:33:31 +0100
committerLukc <lukc@upyum.com>2010-12-11 22:33:31 +0100
commit377a8970e88763ca8dfecfb884b9d22f92a2f1c6 (patch)
tree968fed3e88f641f64c0bb273669852226d8d8f00 /binutils/Pkgfile
parent24525f08851eb762928d10ffc3e5c545eccd2bb6 (diff)
downloadbase-377a8970e88763ca8dfecfb884b9d22f92a2f1c6.tar.gz
base-377a8970e88763ca8dfecfb884b9d22f92a2f1c6.tar.bz2
base-377a8970e88763ca8dfecfb884b9d22f92a2f1c6.tar.xz
base-377a8970e88763ca8dfecfb884b9d22f92a2f1c6.zip
Revert "Recette des binutils mise ? jour."
La recette doit ?tre dans devel/... This reverts commit 24525f08851eb762928d10ffc3e5c545eccd2bb6.
Diffstat (limited to 'binutils/Pkgfile')
-rw-r--r--binutils/Pkgfile30
1 files changed, 14 insertions, 16 deletions
diff --git a/binutils/Pkgfile b/binutils/Pkgfile
index b729d59..ec9e903 100644
--- a/binutils/Pkgfile
+++ b/binutils/Pkgfile
@@ -1,26 +1,24 @@
description="The GNU Binutils are a collection of binary tools"
-packager="CRUX System Team, core-ports at crux dot nu"
-maintainer="Lukc <lukc AT upyum DOT com>" # FIXME: Don't want to be the
-#+ maintainer of a package I don't understand -- for now. /o\
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://sources.redhat.com/binutils/"
depends=(zlib)
name=binutils
version=2.20.1
release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(ftp://ftp.gnu.org/gnu/binutils/binutils-2.20.1.tar.bz2)
build ()
{
- # This seems to remove the documentation... which is something we don't
- #+ want, for now.
- #sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in;
- sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in;
- mkdir build;
- cd build;
- ../$name-$version/configure --prefix=$prefix --mandir=$mandir --enable-shared --disable-nls;
- make tooldir=$prefix;
- make check;
- make tooldir=$prefix DESTDIR=$PKG install;
- cp ../$name-$version/include/libiberty.h $PKG/usr/include;
- sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
+ sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in;
+ sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in;
+ mkdir build;
+ cd build;
+ ../$name-$version/configure --prefix=/usr --mandir=/usr/man --enable-shared --disable-nls;
+ make tooldir=/usr;
+ make check;
+ make tooldir=/usr DESTDIR=$PKG install;
+ cp ../$name-$version/include/libiberty.h $PKG/usr/include;
+ rm -r $PKG/usr/share;
+ sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
}