2010-08-31 11:32:45 +02:00
|
|
|
# Description: Collection of boot loaders for the Linux operating system
|
2020-06-01 16:28:37 +02:00
|
|
|
# URL: https://wiki.syslinux.org/wiki/index.php?title=The_Syslinux_Project
|
2018-01-03 18:26:04 +01:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2014-12-05 12:50:30 +01:00
|
|
|
# Depends on: mtools perl python
|
2010-08-31 11:32:45 +02:00
|
|
|
|
|
|
|
name=syslinux
|
2014-12-05 12:50:30 +01:00
|
|
|
version=6.03
|
2020-05-28 14:07:48 +02:00
|
|
|
release=6
|
2014-12-05 12:50:30 +01:00
|
|
|
source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz \
|
2019-01-17 17:05:54 +01:00
|
|
|
$name-Makefile.patch $name-sysmacros.patch)
|
2010-08-31 11:32:45 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2014-12-05 12:50:30 +01:00
|
|
|
patch -p0 -i $SRC/$name-Makefile.patch
|
2019-01-17 17:05:54 +01:00
|
|
|
patch -p1 -i $SRC/$name-sysmacros.patch
|
2010-08-31 11:32:45 +02:00
|
|
|
|
2020-05-28 14:07:48 +02:00
|
|
|
make OPTFLAGS="$CFLAGS -fcommon" installer
|
|
|
|
make -j1 OPTFLAGS="$CFLAGS -fcommon" INSTALLROOT=$PKG MANDIR=/usr/share/man install
|
2010-08-31 11:32:45 +02:00
|
|
|
|
2017-09-14 07:36:31 +02:00
|
|
|
# revdep
|
|
|
|
install -d $PKG/etc/revdep.d
|
|
|
|
echo '/usr/share/syslinux' > $PKG/etc/revdep.d/syslinux
|
2017-09-15 22:30:58 +02:00
|
|
|
echo '/usr/share/syslinux/efi64' >> $PKG/etc/revdep.d/syslinux
|
2010-08-31 11:32:45 +02:00
|
|
|
}
|