diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template index 346977c578a..aef93523add 100644 --- a/srcpkgs/syslinux/template +++ b/srcpkgs/syslinux/template @@ -2,8 +2,7 @@ pkgname=syslinux version=4.04 distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2" -build_style=gnu_makefile -make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version" +build_style=custom-install short_desc="A boot loader for the Linux operating system" maintainer="Juan RP " homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project" @@ -16,18 +15,22 @@ long_desc=" (such as DOS) from nontraditional media; it is usually used in conjunction with PXELINUX and ISOLINUX." +broken_as_needed=yes + Add_dependency run glibc Add_dependency build perl Add_dependency build nasm Add_dependency build xz -pre_build() +do_build() { # Disable this file which causes an error. - sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile + sed -i -e 's|win32/syslinux.exe||g' Makefile + make ${makejobs} } -post_install() +do_install() { + make INSTALLROOT=${DESTDIR} install mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share }