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