void-packages/srcpkgs/syslinux/template

29 lines
686 B
Plaintext

# Template file for 'syslinux'
pkgname=syslinux
version=5.01
revision=1
makedepends="perl nasm libuuid-devel"
short_desc="A boot loader for the Linux operating system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project"
license="GPL-2"
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
checksum=41320ae9c8211bb99b1322fdbf98a83d3bdc0f9a78291ad27f8512b12e16b411
do_build() {
unset CFLAGS LDFLAGS
sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
make installer
}
do_install() {
make INSTALLROOT=${DESTDIR} install
vmove "sbin/*" usr/bin
}
syslinux_package() {
pkg_install() {
vmove usr
}
}