nixpkgs/pkgs/tools/misc/getopt/builder.sh

7 lines
123 B
Bash

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