#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2017-2022 Random Crew
# Distributed under the terms of MIT License.
src_config()
{
./configure \
--prefix=${PREFIX} \
--sysconfdir=/etc \
--disable-efiemu \
--disable-werror
}
src_compile()
{
make ${MAKEOPTS}
}
src_install()
{
make install ${MAKEOPTS} DESTDIR=${D}
mkdir -p ${D}${PREFIX}/share/bash-completion/completions
mv ${D}/etc/bash_completion.d/grub ${D}${PREFIX}/share/bash-completion/completions
}
- grub.build
- meta.txt
- url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter08/grub.html
- url.lfs.stage1: