mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
* GNU Patch.
svn path=/nixpkgs/trunk/; revision=388
This commit is contained in:
parent
714a65d9d4
commit
34dfe18660
9
pkgs/gnupatch/gnupatch-build.sh
Executable file
9
pkgs/gnupatch/gnupatch-build.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /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
|
13
pkgs/gnupatch/gnupatch.fix
Normal file
13
pkgs/gnupatch/gnupatch.fix
Normal file
|
@ -0,0 +1,13 @@
|
|||
Package(
|
||||
[ ("name", "gnupatch-2.5.4")
|
||||
|
||||
, ("build", Relative("gnupatch/gnupatch-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/patch/patch-2.5.4.tar.gz")
|
||||
, ("md5", "ee5ae84d115f051d87fcaaef3b4ae782")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
]
|
||||
)
|
Loading…
Reference in a new issue