Annotation of /trunk/core/syslinux/syslinux-4.05-r2.smage2
Parent Directory
|
Revision Log
Revision 12843 -
(hide annotations)
(download)
Wed Jul 4 08:48:12 2012 UTC (11 years, 11 months ago) by niro
File size: 1250 byte(s)
Wed Jul 4 08:48:12 2012 UTC (11 years, 11 months ago) by niro
File size: 1250 byte(s)
-marked stable
1 | niro | 12697 | # $Id$ |
2 | |||
3 | PNAME="syslinux" | ||
4 | PVER="4.05" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="sys-apps" | ||
8 | |||
9 | 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)." | ||
10 | HOMEPAGE="http://syslinux.zytor.com/" | ||
11 | |||
12 | DEPEND="" | ||
13 | SDEPEND=">= devl-lang/nasm-2" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | msetfeature "!check" | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${SRCFILE} | ||
23 | http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${PVER%.*}.xx/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | niro | 12698 | mirror://${PNAME}/${PNAME}-${PVER}-avoid-using-linux-ext2_fs.h.patch |
26 | niro | 12697 | ) |
27 | |||
28 | UP2DATE="updatecmd http://www.kernel.org/pub/linux/utils/boot/${SRCFILE}/ | lasttarball" | ||
29 | |||
30 | niro | 12698 | src_prepare() |
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # fix build with >=linux-libc-headers-3.4 | ||
36 | # backported from syslinux-4.06-pr3 | ||
37 | mpatch ${PNAME}-${PVER}-avoid-using-linux-ext2_fs.h.patch || die | ||
38 | } | ||
39 | |||
40 | niro | 12697 | src_compile() |
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | mmake installer || die | ||
44 | } | ||
45 | |||
46 | src_install() | ||
47 | { | ||
48 | cd ${SRCDIR} | ||
49 | mmake INSTALLROOT=${BINDIR} INSTALLSUBDIRS=utils MANDIR=/usr/share/man install SBINDIR=/usr/sbin || die | ||
50 | minstalldocs COPYING NEWS README || die | ||
51 | } |