vp-build/templates/syslinux.tmpl
Juan RP e9231b5999 More changes to {pre,post}_<stage> stuff.
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.

Also remove some NetBSD specific stuff that is not useful anymore.

--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
2008-10-27 06:12:30 +01:00

26 lines
951 B
Cheetah

# Template file for 'syslinux'
pkgname=syslinux
version=3.72
distfiles="
http://www.kernel.org/pub/linux/utils/boot/syslinux/$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=dc19ea3e1297468d9b4c579aba1dd491c963a02887f7fb362c95c6f1c0567e90
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."
build_depends="perl-5.10.0 nasm-2.05"
run_depends="glibc-2.8"
pre_configure()
{
# Disable this file which causes an error.
sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile
}