2008-10-25 09:40:27 +02:00
|
|
|
# Template file for 'syslinux'
|
|
|
|
pkgname=syslinux
|
2011-06-29 20:02:29 +02:00
|
|
|
version=4.04
|
2011-10-19 03:54:32 +02:00
|
|
|
revision=1
|
2009-04-19 00:31:39 +02:00
|
|
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
|
2011-07-07 17:45:05 +02:00
|
|
|
build_style=custom-install
|
2008-10-25 09:40:27 +02:00
|
|
|
short_desc="A boot loader for the Linux operating system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 20:02:29 +02:00
|
|
|
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=e186a21cb1b3b1874f253df21546e8d0595d803bd6a60f38cfafbc10bee90e0b
|
2008-10-25 09:40:27 +02:00
|
|
|
long_desc="
|
|
|
|
The SYSLINUX Project covers lightweight bootloaders for floppy media (SYSLINUX),
|
2011-07-14 01:21:02 +02:00
|
|
|
network booting (PXELINUX), and bootable El Torito CD-ROMs (ISOLINUX).
|
2008-10-25 09:40:27 +02:00
|
|
|
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."
|
|
|
|
|
2011-07-07 17:45:05 +02:00
|
|
|
broken_as_needed=yes
|
|
|
|
|
2010-03-05 04:52:38 +01:00
|
|
|
Add_dependency run glibc
|
2009-04-19 00:39:21 +02:00
|
|
|
Add_dependency build perl
|
|
|
|
Add_dependency build nasm
|
2011-07-03 00:34:10 +02:00
|
|
|
Add_dependency build xz
|
2008-10-27 06:12:30 +01:00
|
|
|
|
2011-07-07 17:45:05 +02:00
|
|
|
do_build()
|
2008-10-27 06:12:30 +01:00
|
|
|
{
|
|
|
|
# Disable this file which causes an error.
|
2011-07-07 17:45:05 +02:00
|
|
|
sed -i -e 's|win32/syslinux.exe||g' Makefile
|
|
|
|
make ${makejobs}
|
2008-10-27 06:12:30 +01:00
|
|
|
}
|
2009-12-11 12:25:01 +01:00
|
|
|
|
2011-07-07 17:45:05 +02:00
|
|
|
do_install()
|
2009-12-11 12:25:01 +01:00
|
|
|
{
|
2011-07-07 17:45:05 +02:00
|
|
|
make INSTALLROOT=${DESTDIR} install
|
2009-12-11 12:25:01 +01:00
|
|
|
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
|
|
|
|
}
|