mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
add builder and expression for syslinux. "make install" still barfs, needs patching...
svn path=/nixpkgs/trunk/; revision=3430
This commit is contained in:
parent
c886383893
commit
6ea30e97e5
8
pkgs/os-specific/linux/syslinux/builder.sh
Normal file
8
pkgs/os-specific/linux/syslinux/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
buildinputs=""
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfj $src
|
||||
cd syslinux-3.09
|
||||
make
|
||||
mkdir $out
|
||||
make BASEDIR=$out install
|
11
pkgs/os-specific/linux/syslinux/default.nix
Normal file
11
pkgs/os-specific/linux/syslinux/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, nasm, perl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "syslinux-3.09";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.09.tar.bz2;
|
||||
md5 = "dd403b15ef18bb0e5d78d3f552f822a5";
|
||||
};
|
||||
buildInputs = [nasm perl];
|
||||
}
|
Loading…
Reference in New Issue
Block a user