void-packages/srcpkgs/syslinux/template

29 lines
686 B
Text
Raw Normal View History

# Template file for 'syslinux'
pkgname=syslinux
2013-02-01 14:27:21 +00:00
version=5.01
2012-10-23 21:01:25 +00:00
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"
2012-10-23 21:01:25 +00:00
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
2013-02-01 14:27:21 +00:00
checksum=41320ae9c8211bb99b1322fdbf98a83d3bdc0f9a78291ad27f8512b12e16b411
2011-12-10 08:44:45 +00:00
do_build() {
unset CFLAGS LDFLAGS
2013-02-01 14:27:21 +00:00
sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
make installer
}
2011-12-10 08:44:45 +00:00
do_install() {
make INSTALLROOT=${DESTDIR} install
vmove "sbin/*" usr/bin
}
syslinux_package() {
pkg_install() {
vmove usr
}
}