Magellan Linux

Annotation of /branches/R11-unstable/core/syslinux/syslinux-6.03-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32095 - (hide annotations) (download)
Mon Apr 29 11:36:30 2019 UTC (5 years ago) by niro
File size: 1047 byte(s)
-release branches/R11-unstable
1 niro 26264 # $Id$
2    
3     PNAME="syslinux"
4     PVER="6.03"
5     PBUILD="r1"
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     # mtools are run-time needed
13     DEPEND=">= virtual/glibc
14     >= sys-libs/libuuid-2.22
15     >= sys-fs/mtools-4"
16    
17     SDEPEND=">= dev-lang/nasm-2"
18    
19     SRCFILE="${PNAME}-${PVER}.tar.xz"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22     sminclude mbuild
23     msetfeature "!check"
24    
25     SRC_URI=(
26     http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${SRCFILE}
27     http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${PVER%.*}.xx/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     )
30    
31     UP2DATE="updatecmd https://www.kernel.org/pub/linux/utils/boot/${PNAME}/ | highesttarball xz"
32    
33     src_compile()
34     {
35     cd ${SRCDIR}
36     mmake installer || die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42 niro 26265 mmake INSTALLROOT=${BINDIR} MANDIR=/usr/share/man SBINDIR=/usr/sbin install || die
43 niro 26264 minstalldocs COPYING NEWS README || die
44     }