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