mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
* Added GNU sed.
svn path=/nixpkgs/trunk/; revision=310
This commit is contained in:
parent
4a104ba060
commit
aab301d701
9
pkgs/gnused/gnused-build.sh
Executable file
9
pkgs/gnused/gnused-build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd sed-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/gnused/gnused.fix
Normal file
13
pkgs/gnused/gnused.fix
Normal file
@ -0,0 +1,13 @@
|
||||
Package(
|
||||
[ ("name", "gnused-4.0.7")
|
||||
|
||||
, ("build", Relative("gnused/gnused-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/sed/sed-4.0.7.tar.gz")
|
||||
, ("md5", "005738e7f97bd77d95b6907156c8202a")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
||||
]
|
||||
)
|
@ -13,6 +13,7 @@ Function(["nativeTools"],
|
||||
, ("tools", If(Var("nativeTools"),
|
||||
[],
|
||||
[ IncludeFix("coreutils/coreutils.fix")
|
||||
, IncludeFix("gnused/gnused.fix")
|
||||
, IncludeFix("gnutar/gnutar.fix")
|
||||
, IncludeFix("gzip/gzip.fix")
|
||||
]))
|
||||
|
Loading…
Reference in New Issue
Block a user