* Added getopt (because sdf2table needs it).
svn path=/nixpkgs/trunk/; revision=568
This commit is contained in:
commit
cd0ad9e00a
@ -32,6 +32,11 @@
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
getopt = (import ../tools/misc/getopt) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
diffutils = (import ../tools/text/diffutils) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
|
8
pkgs/tools/misc/getopt/builder.sh
Executable file
8
pkgs/tools/misc/getopt/builder.sh
Executable file
@ -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
|
10
pkgs/tools/misc/getopt/default.nix
Normal file
10
pkgs/tools/misc/getopt/default.nix
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user