]>
Commit | Line | Data |
---|---|---|
51a5e980 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
51a5e980 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = syslinux |
7 | version = 4.02 | |
dcb4318e | 8 | release = 2 |
51a5e980 | 9 | |
802ea3af MT |
10 | groups = System/Boot |
11 | url = http://syslinux.zytor.com/ | |
12 | license = GPLv2+ | |
13 | summary = Simple kernel loader which boots from a FAT filesystem. | |
51a5e980 | 14 | |
802ea3af | 15 | description |
51a5e980 MT |
16 | SYSLINUX is a suite of bootloaders, currently supporting DOS FAT \ |
17 | filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots \ | |
18 | (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool, \ | |
19 | MEMDISK, which loads legacy operating systems from these media. | |
802ea3af MT |
20 | end |
21 | ||
22 | source_dl = http://www.kernel.org/pub/linux/utils/boot/syslinux/ | |
51a5e980 | 23 | |
802ea3af MT |
24 | build |
25 | requires | |
26 | nasm | |
dcb4318e | 27 | perl |
802ea3af MT |
28 | python-devel |
29 | end | |
1f9bc2f0 | 30 | |
802ea3af | 31 | CFLAGS = -Werror -Wno-unused -finline-limit=2000 |
51a5e980 | 32 | |
dcb4318e MT |
33 | CC = gcc -std=gnu99 -fgnu89-inline |
34 | ||
802ea3af MT |
35 | prepare_cmds |
36 | cd %{DIR_APP} && make clean | |
37 | end | |
51a5e980 | 38 | |
802ea3af MT |
39 | build |
40 | make installer \ | |
41 | %{PARALLELISMFLAGS} \ | |
dcb4318e | 42 | CC="%{CC}" |
802ea3af MT |
43 | make -C sample tidy |
44 | end | |
51a5e980 | 45 | |
802ea3af MT |
46 | install |
47 | make install-all \ | |
48 | INSTALLROOT=%{BUILDROOT} \ | |
dcb4318e | 49 | CC="%{CC}" \ |
802ea3af | 50 | MANDIR=/usr/share/man |
51a5e980 | 51 | |
802ea3af MT |
52 | rm -rvf %{BUILDROOT}/{boot,tftpboot} |
53 | end | |
54 | end | |
51a5e980 | 55 | |
802ea3af MT |
56 | packages |
57 | package %{name} | |
dcb4318e MT |
58 | |
59 | package %{name}-perl | |
60 | summary = Syslinux tools written in perl. | |
61 | description = %{summary} | |
62 | ||
63 | files | |
64 | %{bindir}/keytab-lilo | |
65 | %{bindir}/lss16toppm | |
66 | %{bindir}/md5pass | |
67 | %{bindir}/mkdiskimage | |
68 | %{bindir}/ppmtolss16 | |
69 | %{bindir}/pxelinux-options | |
70 | %{bindir}/sha1pass | |
71 | %{bindir}/syslinux2ansi | |
72 | %{bindir}/isohybrid.pl | |
73 | %{mandir}/man1/lss16toppm* | |
74 | %{mandir}/man1/ppmtolss16* | |
75 | %{mandir}/man1/syslinux2ansi* | |
76 | end | |
802ea3af | 77 | end |
1f9bc2f0 MT |
78 | |
79 | package %{name}-debuginfo | |
80 | template DEBUGINFO | |
81 | end | |
802ea3af | 82 | end |