From f60c4c33050fd49d8f867c691e2f45c2c8e52cb3 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 22:34:32 +0100 Subject: Recette des binutils ajout?e dans le d?p?t. --- binutils/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 binutils/Pkgfile (limited to 'binutils/Pkgfile') diff --git a/binutils/Pkgfile b/binutils/Pkgfile new file mode 100644 index 0000000..ec9e903 --- /dev/null +++ b/binutils/Pkgfile @@ -0,0 +1,24 @@ +description="The GNU Binutils are a collection of binary tools" +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/binutils/binutils-2.20.1.tar.bz2) +build () +{ + 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 +} -- cgit v1.2.3-70-g09d2