# syslinux/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.05 hours (or 002.80 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.09 hours (or 005.18 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.25 hours (or 015.03 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes license = GNU General Public License, Version 2 (June 1991) setpaths = nasm2, util-linux tmpsize = 45M #--------------------------------------------------------------------- [depends] mtools # Used at run-time nasm2 util-linux # For uuid.h #--------------------------------------------------------------------- [configure] mkdir -p $PKGDIR_PROD/{bin,doc,lib,man,sbin} rm -f `ff -ax` for ext in a com d elf exe lnx o do rm -f `find . -type f -name \*.$ext` done rm -f \ extlinux/extlinux \ gethostip \ memdisk/memdisk \ utils/gethostip \ {linux,mtools,unix}/syslinux \ {linux,unix}/syslinux-nomtools for file in \ `find . -type f -name MCONFIG` \ `find . -type f -name Makefile` do sed -r \ -e 's@^BINDIR(\t| )*=.*@BINDIR=/bin@' \ -e 's@^DATADIR(\t| )*=.*@DATADIR=/lib@' \ -e 's@^INCDIR(\t| )*=.*@INCDIR=/include@' \ -e 's@^LIBDIR(\t| )*=.*@LIBDIR=/lib@' \ -e 's@^MANDIR(\t| )*=.*@MANDIR=/man@' \ -e 's@^SBINDIR(\t| )*=.*@SBINDIR=/sbin@' \ -i $file done #--------------------------------------------------------------------- [build] TARGETS="bios efi32 installer" make $TARGETS INSTALLROOT=$PKGDIR_PROD make $TARGETS INSTALLROOT=$PKGDIR_PROD install rm -f `find $PKGDIR_PROD -name syslinux.exe` #--------------------------------------------------------------------- [postbuild] DOCDIR=$PKGDIR_PROD/doc mkdir -p $DOCDIR cp -p doc/*.txt $DOCDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/syslinux url_home = http://syslinux.zytor.com/ url_lfs = n/a url_tarball = https://www.kernel.org/pub/linux/utils/boot/\ syslinux/syslinux-6.03.tar.xz #--------------------------------------------------------------------- [history] 210226 Patched to fix multiple problems