2008-10-25 07:40:27 +00:00
|
|
|
# Template file for 'syslinux'
|
|
|
|
pkgname=syslinux
|
2011-12-10 08:44:45 +00:00
|
|
|
version=4.05
|
2009-04-18 22:31:39 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
|
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"
|
2011-12-10 08:44:45 +00:00
|
|
|
checksum=9093f246038a3671a323bd9dd7eb685338578f67f3da949123c6462e0903c0b8
|
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
|
|
|
|
|
2009-04-18 22:39:21 +00:00
|
|
|
Add_dependency build perl
|
|
|
|
Add_dependency build nasm
|
2011-12-10 08:44:45 +00:00
|
|
|
Add_dependency build libuuid-devel
|
2008-10-27 05:12:30 +00:00
|
|
|
|
2011-12-10 08:44:45 +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-12-10 08:44:45 +00:00
|
|
|
do_install() {
|
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
|
|
|
|
}
|