void-packages/templates/syslinux/template
Juan RP 5ef8ade9ef syslinux: fix installation.
{pre,post}_configure stages are not run if build_style==gnu_makefile.
Change this to pre_build().

--HG--
extra : convert_revision : ca850119a0f1b90eb9cc4790107eeafbe6dab09b
2009-10-20 01:57:46 +02:00

25 lines
942 B
Text

# Template file for 'syslinux'
pkgname=syslinux
version=3.83
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="A boot loader for the Linux operating system"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9ec84d6dcc188f082a875b69796b196f98ea8c0102b55b03123616a285c2d9f9
long_desc="
The SYSLINUX Project covers lightweight bootloaders for floppy media (SYSLINUX),
network booting (PXELINUX), and bootable \"El Torito\" CD-ROMs (ISOLINUX).
The project also includes MEMDISK, a tool to boot legacy operating systems
(such as DOS) from nontraditional media; it is usually used in conjunction with
PXELINUX and ISOLINUX."
Add_dependency build perl
Add_dependency build nasm
Add_dependency full glibc
pre_build()
{
# Disable this file which causes an error.
sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile
}