Archived
3
0

syslinux recipe added.

This commit is contained in:
Luka Vandervelden 2019-08-21 22:40:52 +02:00
parent f91a1aecc4
commit 7c6ec81cd2

17
syslinux/recipe.spec Normal file
View File

@ -0,0 +1,17 @@
name: syslinux
version: 6.03
sources: https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.gz
dependencies: util-linux
build-dependencies: nasm, linux-dev, util-linux-dev
@build
cd %{name}-%{version}
(echo '#include <sys/sysmacros.h>'; cat extlinux/main.c) > main.c.new && \
mv main.c.new extlinux/main.c
make efi32 efi64 bios installer
@install
cd %{name}-%{version}
make install \
INSTALLROOT="%{pkg}" \
EXTLINUXDIR=/boot/extlinux