Added make

svn path=/nixpkgs/trunk/; revision=6131
This commit is contained in:
Martin Bravenboer 2006-08-16 14:15:00 +00:00
parent 5992b95b64
commit 884b6f9a0d
3 changed files with 48 additions and 1 deletions

View File

@ -47,6 +47,8 @@ let {
/** /**
* MSYS, installed using stdenvInit1 * MSYS, installed using stdenvInit1
*
* @todo Maybe remove the make of msys?
*/ */
msys = msys =
stdenvInit1.mkDerivation { stdenvInit1.mkDerivation {
@ -71,13 +73,19 @@ let {
shell = msys + /bin/sh + ".exe"; shell = msys + /bin/sh + ".exe";
make =
(import ./pkgs).make {
stdenv = stdenvInit2;
inherit fetchurl;
};
stdenv = stdenv =
stdenvInit2.mkDerivation { stdenvInit2.mkDerivation {
name = "stdenv-mingw"; name = "stdenv-mingw";
builder = ./builder.sh; builder = ./builder.sh;
substitute = ../../build-support/substitute/substitute.sh; substitute = ../../build-support/substitute/substitute.sh;
setup = ./setup.sh; setup = ./setup.sh;
initialPath = [msys]; initialPath = [make msys];
inherit shell; inherit shell;
gcc = msys; # TODO gcc = msys; # TODO
}; };

View File

@ -0,0 +1,5 @@
source $STDENV/setup
mkdir $OUT
cd $OUT
tar zxvf $SRC

View File

@ -0,0 +1,34 @@
/**
* MinGW packages.
*/
rec {
/**
* Make. Binary.
*/
make = {stdenv, fetchurl} :
stdenv.mkDerivation {
name = "mingw32-make-3.81";
builder = ./bin-builder.sh;
src =
fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/mingw/mingw32-make-3.81-1.tar.gz;
md5 = "74c2f44ecc699b318edeb07d838feae5";
};
};
/*
pkgs.coreutils
pkgs.findutils
pkgs.diffutils
pkgs.gnused
pkgs.gnugrep
pkgs.gawk
pkgs.gnutar
pkgs.gzip
pkgs.bzip2
pkgs.gnumake
pkgs.bash
pkgs.patch
*/
}