diff options
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/hello/hello-build.sh | 9 | ||||
-rw-r--r-- | pkgs/hello/hello.fix | 10 |
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 000000000000..258b2c95cb9b --- /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 000000000000..572e49711944 --- /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") + ])) + ] +) |