* Added GNU hello.
svn path=/nixpkgs/trunk/; revision=555
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
buildinputs="$perl"
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd hello-* || exit 1
|
||||||
|
./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl, perl}:
|
||||||
|
|
||||||
|
derivation {
|
||||||
|
name = "hello-2.1.1";
|
||||||
|
system = stdenv.system;
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
|
||||||
|
md5 = "70c9ccf9fac07f762c24f2df2290784d";
|
||||||
|
};
|
||||||
|
stdenv = stdenv;
|
||||||
|
perl = perl;
|
||||||
|
}
|
||||||
@@ -446,4 +446,10 @@
|
|||||||
libpng = libpng;
|
libpng = libpng;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hello = (import ../applications/misc/hello) {
|
||||||
|
fetchurl = fetchurl;
|
||||||
|
stdenv = stdenv;
|
||||||
|
perl = perl;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user