syslinux: Update to 4.06 and fix build

http://hydra.nixos.org/build/3890519
This commit is contained in:
Eelco Dolstra 2013-01-28 15:45:33 +01:00
parent b0cb17257b
commit 25a875195d

View File

@ -1,16 +1,18 @@
{ stdenv, fetchurl, nasm, perl }:
{ stdenv, fetchurl, nasm, perl, libuuid }:
stdenv.mkDerivation rec {
name = "syslinux-4.03";
name = "syslinux-4.06";
src = fetchurl {
url = "mirror://kernel/linux/utils/boot/syslinux/4.xx/${name}.tar.bz2";
sha256 = "0f6s1cnibw6j0jh9bn5qsx3vsar9l1w9b3xfjkvzglgr4kinfmf6";
sha256 = "09md61npd5z64rv5s3knl4qsn2bqsn57irm5izk6snf46r77gdyv";
};
patches = [ ./perl-deps.patch ];
buildInputs = [ nasm perl ];
buildInputs = [ nasm perl libuuid ];
enableParallelBuilding = true;
preBuild =
''
@ -18,4 +20,9 @@ stdenv.mkDerivation rec {
substituteInPlace gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
makeFlagsArray=(BINDIR=$out/bin SBINDIR=$out/sbin LIBDIR=$out/lib INCDIR=$out/include DATADIR=$out/share MANDIR=$out/share/man PERL=perl)
'';
meta = {
homepage = http://www.syslinux.org/;
description = "A lightweight bootloader";
};
}