Annotation of /trunk/core/syslinux/syslinux-4.05-r2.smage2
Parent Directory | Revision Log
Revision 12753 -
(hide annotations)
(download)
Mon Jul 2 14:37:15 2012 UTC (12 years, 2 months ago) by niro
File size: 1267 byte(s)
Mon Jul 2 14:37:15 2012 UTC (12 years, 2 months ago) by niro
File size: 1267 byte(s)
-marked unstable
1 | niro | 12697 | # $Id$ |
2 | |||
3 | PNAME="syslinux" | ||
4 | PVER="4.05" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="sys-apps" | ||
8 | niro | 12753 | STATE="unstable" |
9 | niro | 12697 | |
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 | niro | 12698 | mirror://${PNAME}/${PNAME}-${PVER}-avoid-using-linux-ext2_fs.h.patch |
27 | niro | 12697 | ) |
28 | |||
29 | UP2DATE="updatecmd http://www.kernel.org/pub/linux/utils/boot/${SRCFILE}/ | lasttarball" | ||
30 | |||
31 | niro | 12698 | 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 | niro | 12697 | 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 | } |