* Added getopt (because sdf2table needs it).

svn path=/nixpkgs/trunk/; revision=568
This commit is contained in:
Eelco Dolstra 2003-12-02 12:54:21 +00:00
commit cd0ad9e00a
3 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,11 @@
stdenv = stdenv;
};
getopt = (import ../tools/misc/getopt) {
fetchurl = fetchurl;
stdenv = stdenv;
};
diffutils = (import ../tools/text/diffutils) {
fetchurl = fetchurl;
stdenv = stdenv;

View 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

View 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;
}