nixpkgs/pkgs/gnupatch/gnupatch-build.sh
Eelco Dolstra 34dfe18660 * GNU Patch.
svn path=/nixpkgs/trunk/; revision=388
2003-09-11 20:17:17 +00:00

10 lines
158 B
Bash
Executable file

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