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