nixpkgs/pkgs/getopt/getopt-build.sh
Eelco Dolstra eb545b5142 * Amazingly, sdf2 is still dependent on the non-standard `getopt' tool. So
getopt has been added.

  As part of the build of sdf2 we patch sdf2table to store the full path of
  getopt.  This is so that packages that use sdf2 do not have to declare
  getopt as an input.

svn path=/nixpkgs/trunk/; revision=347
2003-08-25 13:24:48 +00:00

9 lines
135 B
Bash
Executable File

#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd getopt-* || exit 1
make || exit 1
make install prefix=$out || exit 1