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

View file

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