* Renamed pkgs-ng to pkgs.

svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
Eelco Dolstra
2003-11-14 09:59:13 +00:00
parent 6b2bb22474
commit 48c3faca51
141 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd binutils-* || exit 1
# Clear the default library search path.
if test "$noSysDirs" == "1"; then
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt || exit 1
fi
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl}: derivation {
name = "binutils-2.14";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/binutils/binutils-2.14.tar.bz2;
md5 = "2da8def15d28af3ec6af0982709ae90a";
};
stdenv = stdenv;
noSysDirs = stdenv.noSysDirs;
}