30 lines
1,005 B
Text
30 lines
1,005 B
Text
# Template file for 'syslinux'
|
|
pkgname=syslinux
|
|
version=4.00
|
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
|
|
build_style=gnu_makefile
|
|
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
|
|
short_desc="A boot loader for the Linux operating system"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=b56ba2614a1745982f07170a9efe9dee3cb796ff29a17c9b82c81a4c47f06f98
|
|
long_desc="
|
|
The SYSLINUX Project covers lightweight bootloaders for floppy media (SYSLINUX),
|
|
network booting (PXELINUX), and bootable \"El Torito\" CD-ROMs (ISOLINUX).
|
|
The project also includes MEMDISK, a tool to boot legacy operating systems
|
|
(such as DOS) from nontraditional media; it is usually used in conjunction with
|
|
PXELINUX and ISOLINUX."
|
|
|
|
Add_dependency run glibc
|
|
Add_dependency build perl
|
|
Add_dependency build nasm
|
|
|
|
pre_build()
|
|
{
|
|
# Disable this file which causes an error.
|
|
sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile
|
|
}
|
|
|
|
post_install()
|
|
{
|
|
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
|
|
}
|