* Added binutils. The aterm library now builds in a fully Nixified environment.

svn path=/nixpkgs/trunk/; revision=315
This commit is contained in:
Eelco Dolstra 2003-08-18 19:41:45 +00:00
parent d343a357f1
commit 287225e1e1
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd binutils-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@ -0,0 +1,13 @@
Package(
[ ("name", "binutils-2.14")
, ("build", Relative("binutils/binutils-build.sh"))
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/binutils/binutils-2.14.tar.bz2")
, ("md5", "2da8def15d28af3ec6af0982709ae90a")
]))
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
]
)

View File

@ -19,6 +19,7 @@ Function(["nativeTools"],
, IncludeFix("diffutils/diffutils.fix")
, IncludeFix("gzip/gzip.fix")
, IncludeFix("gnumake/gnumake.fix")
, IncludeFix("binutils/binutils.fix")
]))
, ("gcc", If(Var("nativeTools"), "", IncludeFix("gcc/gcc.fix")))