new: more package migrations

This commit is contained in:
ngn
2024-07-20 22:52:09 +03:00
parent 983ddd9a38
commit e46f384f6c
69 changed files with 727 additions and 0 deletions

3
src/efibootmgr/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 18
First version

22
src/efibootmgr/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="efibootmgr"
DESC="Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"
VERSION="18"
# required files
FILES=("https://github.com/rhboot/efibootmgr/archive/18/efibootmgr-${VERSION}.tar.gz")
HASHES=("e170147da25e1d5f72721ffc46fe4e06")
# install and build depends
DEPENDS=("efivar" "glibc" "popt")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
make EFIDIR=LFS EFI_LOADER=grubx64.efi
make DESTDIR="${ROOTDIR}" install EFIDIR=LFS
cd .. && rm -r "${NAME}-${VERSION}"
}