* Sync example with manual.

svn path=/nixpkgs/trunk/; revision=1687
This commit is contained in:
Eelco Dolstra 2004-11-04 20:19:42 +00:00
parent d72d515068
commit 90fc1d314c
4 changed files with 11 additions and 10 deletions

View file

@ -1,8 +0,0 @@
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

View file

@ -0,0 +1,9 @@
. $stdenv/setup
PATH=$perl/bin:$PATH
tar xvfz $src
cd hello-*
./configure --prefix=$out
make
make install

View file

@ -7,5 +7,5 @@ stdenv.mkDerivation {
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
md5 = "70c9ccf9fac07f762c24f2df2290784d";
};
perl = perl;
inherit perl;
}

View file

@ -863,7 +863,7 @@ rec {
inherit (gtkLibs) gtk;
};
hello = (import ../applications/misc/hello) {
hello = (import ../applications/misc/hello/ex-1) {
inherit fetchurl stdenv perl;
};