]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - syslinux/syslinux.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / syslinux / syslinux.nm
CommitLineData
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
6name = syslinux
7version = 4.02
8release = 1
51a5e980 9
802ea3af
MT
10groups = System/Boot
11url = http://syslinux.zytor.com/
12license = GPLv2+
13summary = Simple kernel loader which boots from a FAT filesystem.
51a5e980 14
802ea3af 15description
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
20end
21
22source_dl = http://www.kernel.org/pub/linux/utils/boot/syslinux/
51a5e980 23
802ea3af
MT
24build
25 requires
26 nasm
27 python-devel
28 end
29
30 CFLAGS = -Werror -Wno-unused -finline-limit=2000
51a5e980 31
802ea3af
MT
32 prepare_cmds
33 cd %{DIR_APP} && make clean
34 end
51a5e980 35
802ea3af
MT
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
51a5e980 47
802ea3af
MT
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
51a5e980 58
802ea3af
MT
59 rm -rvf %{BUILDROOT}/{boot,tftpboot}
60 end
61end
51a5e980 62
802ea3af
MT
63packages
64 package %{name}
65 end
66end