summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-09-24 09:05:59 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-09-24 09:05:59 +0000
commit4ff1c293d9cd9557107ed5c4d1df91a7a4255ca7 (patch)
tree47bcdf6715c5c49d12d60fe558dc2101de339091
parent915672f8582aa84dd98dd28c24efeb9741398007 (diff)
* GNU hello package added. backups/logistics@34171
svn path=/nixpkgs/branches/logistics/; revision=397
-rwxr-xr-xpkgs/hello/hello-build.sh9
-rw-r--r--pkgs/hello/hello.fix10
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/hello/hello-build.sh b/pkgs/hello/hello-build.sh
new file mode 100755
index 0000000000000..258b2c95cb9b9
--- /dev/null
+++ b/pkgs/hello/hello-build.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+export PATH=/usr/bin:/bin
+
+tar xvfz $src || exit 1
+cd hello-* || exit 1
+./configure --prefix=$out || exit 1
+make || exit 1
+make install || exit 1
diff --git a/pkgs/hello/hello.fix b/pkgs/hello/hello.fix
new file mode 100644
index 0000000000000..572e497119445
--- /dev/null
+++ b/pkgs/hello/hello.fix
@@ -0,0 +1,10 @@
+Package(
+  [ ("name", "hello-2.1.1")
+  , ("build", Relative("hello/hello-build.sh"))
+
+  , ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
+      [ ("url", "http://ftp.gnu.org/gnu/hello/hello-2.1.1.tar.gz")
+      , ("md5", "70c9ccf9fac07f762c24f2df2290784d")
+      ]))
+  ]
+)