syslinux: don't rebuild the whole stuff as suggested by distrib.txt.

This commit is contained in:
Juan RP 2012-06-12 12:05:45 +02:00
parent 8e8041d213
commit e75457d1b1
1 changed files with 4 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'syslinux'
pkgname=syslinux
version=4.05
revision=2
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
makedepends="perl nasm libuuid-devel"
revision=1
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"
@ -16,16 +16,13 @@ long_desc="
(such as DOS) from nontraditional media; it is usually used in conjunction with
PXELINUX and ISOLINUX."
broken_as_needed=yes
do_build() {
# Disable this file which causes an error.
sed -i -e 's|win32/syslinux.exe||g' Makefile
make ${makejobs}
unset CFLAGS LDFLAGS
make installer
}
do_install() {
make INSTALLROOT=${DESTDIR} install
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
vmove "sbin/*" usr/bin
}