mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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
2 changed files with 19 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue