]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - syslinux/syslinux.nm
Merge remote-tracking branch 'stevee/unicode-ucd'
[people/amarx/ipfire-3.x.git] / syslinux / syslinux.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = syslinux
7 version = 4.02
8 release = 3
9 sup_arches = x86_64 i686
10
11 groups = System/Boot
12 url = http://syslinux.zytor.com/
13 license = GPLv2+
14 summary = Simple kernel loader which boots from a FAT filesystem.
15
16 description
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.
21 end
22
23 source_dl = http://www.kernel.org/pub/linux/utils/boot/syslinux/
24
25 build
26 requires
27 nasm
28 perl
29 python-devel
30 end
31
32 CFLAGS = -Werror -Wno-unused -finline-limit=2000
33
34 CC = gcc -std=gnu99 -fgnu89-inline
35
36 prepare_cmds
37 cd %{DIR_APP} && make clean
38 end
39
40 build
41 make installer \
42 %{PARALLELISMFLAGS} \
43 CC="%{CC}"
44 make -C sample tidy
45 end
46
47 install
48 make install-all \
49 INSTALLROOT=%{BUILDROOT} \
50 CC="%{CC}" \
51 MANDIR=/usr/share/man
52
53 rm -rvf %{BUILDROOT}/{boot,tftpboot}
54 end
55 end
56
57 packages
58 package %{name}
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
78 end
79
80 package %{name}-debuginfo
81 template DEBUGINFO
82 end
83 end