Contents of /trunk/core/syslinux/syslinux-4.05-r2.smage2
Parent Directory | Revision Log
Revision 12753 -
(show annotations)
(download)
Mon Jul 2 14:37:15 2012 UTC (11 years, 10 months ago) by niro
File size: 1267 byte(s)
Mon Jul 2 14:37:15 2012 UTC (11 years, 10 months ago) by niro
File size: 1267 byte(s)
-marked unstable
1 | # $Id$ |
2 | |
3 | PNAME="syslinux" |
4 | PVER="4.05" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Syslinux - Bootloaders for MS-DOS FAT filesystems (SYSLINUX), network booting (PXELINUX), bootable 'El Torito' CD-ROMs (ISOLINUX), and Linux ext2/ext3/ext4 or btrfs filesystems (EXTLINUX)." |
11 | HOMEPAGE="http://syslinux.zytor.com/" |
12 | |
13 | DEPEND="" |
14 | SDEPEND=">= devl-lang/nasm-2" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild |
20 | msetfeature "!check" |
21 | |
22 | SRC_URI=( |
23 | http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${SRCFILE} |
24 | http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${PVER%.*}.xx/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-${PVER}-avoid-using-linux-ext2_fs.h.patch |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://www.kernel.org/pub/linux/utils/boot/${SRCFILE}/ | lasttarball" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # fix build with >=linux-libc-headers-3.4 |
37 | # backported from syslinux-4.06-pr3 |
38 | mpatch ${PNAME}-${PVER}-avoid-using-linux-ext2_fs.h.patch || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | cd ${SRCDIR} |
44 | mmake installer || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} |
50 | mmake INSTALLROOT=${BINDIR} INSTALLSUBDIRS=utils MANDIR=/usr/share/man install SBINDIR=/usr/sbin || die |
51 | minstalldocs COPYING NEWS README || die |
52 | } |