############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = syslinux version = 4.02 release = 3 sup_arches = x86_64 i686 groups = System/Boot url = http://syslinux.zytor.com/ license = GPLv2+ summary = Simple kernel loader which boots from a FAT filesystem. description SYSLINUX is a suite of bootloaders, currently supporting DOS FAT \ filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots \ (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool, \ MEMDISK, which loads legacy operating systems from these media. end source_dl = http://www.kernel.org/pub/linux/utils/boot/syslinux/ build requires nasm perl python-devel end CFLAGS = -Werror -Wno-unused -finline-limit=2000 CC = gcc -std=gnu99 -fgnu89-inline prepare_cmds cd %{DIR_APP} && make clean end build make installer \ %{PARALLELISMFLAGS} \ CC="%{CC}" make -C sample tidy end install make install-all \ INSTALLROOT=%{BUILDROOT} \ CC="%{CC}" \ MANDIR=/usr/share/man rm -rvf %{BUILDROOT}/{boot,tftpboot} end end packages package %{name} package %{name}-perl summary = Syslinux tools written in perl. description = %{summary} files %{bindir}/keytab-lilo %{bindir}/lss16toppm %{bindir}/md5pass %{bindir}/mkdiskimage %{bindir}/ppmtolss16 %{bindir}/pxelinux-options %{bindir}/sha1pass %{bindir}/syslinux2ansi %{bindir}/isohybrid.pl %{mandir}/man1/lss16toppm* %{mandir}/man1/ppmtolss16* %{mandir}/man1/syslinux2ansi* end end package %{name}-debuginfo template DEBUGINFO end end