diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 22:34:32 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 22:34:32 +0100 |
commit | f60c4c33050fd49d8f867c691e2f45c2c8e52cb3 (patch) | |
tree | 518558fc6e681e48205d15f0d44aeda543629eca /binutils/Pkgfile.old | |
download | devel-f60c4c33050fd49d8f867c691e2f45c2c8e52cb3.tar.gz devel-f60c4c33050fd49d8f867c691e2f45c2c8e52cb3.tar.bz2 devel-f60c4c33050fd49d8f867c691e2f45c2c8e52cb3.tar.xz devel-f60c4c33050fd49d8f867c691e2f45c2c8e52cb3.zip |
Recette des binutils ajout?e dans le d?p?t.
Diffstat (limited to 'binutils/Pkgfile.old')
-rw-r--r-- | binutils/Pkgfile.old | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/binutils/Pkgfile.old b/binutils/Pkgfile.old new file mode 100644 index 0000000..59005cd --- /dev/null +++ b/binutils/Pkgfile.old @@ -0,0 +1,26 @@ +# Description: The GNU Binutils are a collection of binary tools +# URL: http://sources.redhat.com/binutils/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: zlib + +name=binutils +version=2.20.1 +release=1 +source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.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 +} |