opt/elilo/Pkgfile

25 lines
834 B
Plaintext
Raw Normal View History

2015-07-21 22:43:15 +02:00
# Description: ELILO EFI boot loader
# URL: https://sourceforge.net/projects/elilo/
2015-07-21 22:43:15 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: gnu-efi
name=elilo
version=3.16
2019-12-08 13:15:22 +01:00
release=2
source=(https://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version-all.tar.gz
elilo-3.16-strncpy-clash.patch)
2015-07-21 22:43:15 +02:00
build() {
tar xzf elilo-$version-source.tar.gz
cd elilo-$version-source
2015-07-21 22:43:15 +02:00
#sed -i 's|-fno-stack-protector|-DGNU_EFI_USE_MS_ABI -fno-stack-protector|g' Make.defaults
#sed -i 's|DEBUGFLAGS = -Wall|DEBUGFLAGS = -Wall -Wno-error|g' Make.defaults
sed -i 's|dpkg-architecture -qDEB_BUILD_ARCH|uname -m|g' Make.defaults
2019-12-08 13:15:22 +01:00
patch -p1 -i $SRC/elilo-3.16-strncpy-clash.patch
2015-07-21 22:43:15 +02:00
make -j1
install -D elilo.efi $PKG/usr/share/elilo/elilo.efi
install -D tools/eliloalt $PKG/usr/sbin/eliloalt
}