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