1
0
forked from ports/opt
opt/syslinux/Pkgfile

26 lines
817 B
Plaintext
Raw Normal View History

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