* Added GNU wget to the stdenv.
svn path=/nixpkgs/trunk/; revision=477
This commit is contained in:
parent
acfb15751e
commit
211f1cae14
|
@ -8,6 +8,7 @@
|
|||
pkgs.gnutar
|
||||
pkgs.gzip
|
||||
pkgs.bzip2
|
||||
pkgs.wget
|
||||
pkgs.binutils
|
||||
pkgs.gnumake
|
||||
pkgs.gcc
|
||||
|
|
|
@ -59,6 +59,11 @@
|
|||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
wget = (import ../tools/networking/wget) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
|
||||
### SHELLS
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd wget-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
|
@ -0,0 +1,10 @@
|
|||
{stdenv, fetchurl}: derivation {
|
||||
name = "wget-1.9";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/wget/wget-1.9.tar.gz;
|
||||
md5 = "18ac093db70801b210152dd69b4ef08a";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
Loading…
Reference in New Issue