]> git.ipfire.org Git - ipfire-3.x.git/blob - syslinux/syslinux.nm
Add a -debuginfo for every package that is not noarch.
[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 = 1
9
10 groups = System/Boot
11 url = http://syslinux.zytor.com/
12 license = GPLv2+
13 summary = Simple kernel loader which boots from a FAT filesystem.
14
15 description
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.
20 end
21
22 source_dl = http://www.kernel.org/pub/linux/utils/boot/syslinux/
23
24 build
25 requires
26 nasm
27 python-devel
28 end
29
30 CFLAGS = -Werror -Wno-unused -finline-limit=2000
31
32 prepare_cmds
33 cd %{DIR_APP} && make clean
34 end
35
36 build
37 make installer \
38 %{PARALLELISMFLAGS} \
39 CC="gcc \
40 -std=gnu99 \
41 -fgnu89-inline \
42 -fno-pic \
43 -fno-pie \
44 -nopie"
45 make -C sample tidy
46 end
47
48 install
49 make install-all \
50 INSTALLROOT=%{BUILDROOT} \
51 CC="gcc \
52 -std=gnu99 \
53 -fgnu89-inline \
54 -fno-pic \
55 -fno-pie \
56 -nopie" \
57 MANDIR=/usr/share/man
58
59 rm -rvf %{BUILDROOT}/{boot,tftpboot}
60 end
61 end
62
63 packages
64 package %{name}
65 end
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
70 end