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

25 lines
701 B
Plaintext
Raw Normal View History

2010-08-31 09:32:45 +00:00
# Description: Collection of boot loaders for the Linux operating system
# URL: http://syslinux.zytor.com/
2018-01-03 11:26:04 -06:00
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: mtools perl python
2010-08-31 09:32:45 +00:00
name=syslinux
version=6.03
2017-09-15 22:30:58 +02:00
release=5
source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz \
$name-Makefile.patch)
2010-08-31 09:32:45 +00:00
build() {
cd $name-$version
patch -p0 -i $SRC/$name-Makefile.patch
2010-08-31 09:32:45 +00:00
make OPTFLAGS="$CFLAGS" installer
2016-04-12 16:59:45 +02:00
make -j1 OPTFLAGS="$CFLAGS" 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
}