diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-12-02 12:54:21 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-12-02 12:54:21 +0000 |
commit | cd0ad9e00a8d7de30b2ee419981578aac48fdb84 (patch) | |
tree | 2daa5dfe31f206709a95800d82f8ea7e470074cb /pkgs/tools/misc | |
parent | aa3443651adf659011fa6f1faf0368f792447756 (diff) | |
parent | e6db9b1caa9acc6ebd1a1e219ec084f2209ad68f (diff) |
* Added getopt (because sdf2table needs it).
svn path=/nixpkgs/trunk/; revision=568
Diffstat (limited to 'pkgs/tools/misc')
-rwxr-xr-x | pkgs/tools/misc/getopt/builder.sh | 8 | ||||
-rw-r--r-- | pkgs/tools/misc/getopt/default.nix | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/misc/getopt/builder.sh b/pkgs/tools/misc/getopt/builder.sh new file mode 100755 index 0000000000000..30ac6e3d453dd --- /dev/null +++ b/pkgs/tools/misc/getopt/builder.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd getopt-* || exit 1 +make || exit 1 +make install prefix=$out || exit 1 diff --git a/pkgs/tools/misc/getopt/default.nix b/pkgs/tools/misc/getopt/default.nix new file mode 100644 index 0000000000000..c34230ddeeef6 --- /dev/null +++ b/pkgs/tools/misc/getopt/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation { + name = "getopt-1.1.3"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://huizen.dds.nl/~frodol/getopt-1.1.3.tar.gz; + md5 = "7b7637dcb0ac531f1af29f4d6b018e86"; + }; + stdenv = stdenv; +} |