aboutsummaryrefslogtreecommitdiff
path: root/corepkgs
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-10 09:11:30 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-10 09:11:30 +0000
commitb96239c65703afba195a952d9f21b9588c136ac7 (patch)
treedfd8032c38fc812faae72da94b1f8d93a6f77086 /corepkgs
parent9ebd78144a9c996e39ffc209c05a511f119f55ae (diff)
* Moved the fetchutl package to corepkgs.
Diffstat (limited to 'corepkgs')
-rw-r--r--corepkgs/fetchurl/fetchurl.fix9
-rw-r--r--corepkgs/fetchurl/fetchurl.sh3
2 files changed, 12 insertions, 0 deletions
diff --git a/corepkgs/fetchurl/fetchurl.fix b/corepkgs/fetchurl/fetchurl.fix
new file mode 100644
index 000000000..a3b3d46e1
--- /dev/null
+++ b/corepkgs/fetchurl/fetchurl.fix
@@ -0,0 +1,9 @@
+Function(["url", "hash"],
+ Package(
+ [ ("build", Relative("fetchurl/fetchurl.sh"))
+ , ("url", Var("url"))
+ , ("hash", Var("hash"))
+ , ("name", BaseName(Var("url")))
+ ]
+ )
+)
diff --git a/corepkgs/fetchurl/fetchurl.sh b/corepkgs/fetchurl/fetchurl.sh
new file mode 100644
index 000000000..a92092c6e
--- /dev/null
+++ b/corepkgs/fetchurl/fetchurl.sh
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+wget "$url" -O "$out"