smlinux/base/gnu-efi/gnu-efi.SMBuild

28 lines
743 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gnu-efi
version=3.0.8
build=1sml
homepage="https://sourceforge.net/projects/gnu-efi/"
download="https://sourceforge.net/projects/gnu-efi/files/gnu-efi-$version.tar.bz2"
desc="library to develop applications using GNU toolchain and EFI dev environment"
requires="libelf-compat"
prepbuilddir() {
compileonlyfor x86_64
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make PREFIX="/" INSTALLROOT="$pkg" -j1 all install
mkfinalpkg
}
sha512sums="
e4e1570bef9b3a3f4e321cd84e2f497a277b3c71e8e1d2321369f5b4c0ffede6c8a8f98bc03507cd436eb247b2e6028bd719e16db5f96a57873e2910bb38be0c gnu-efi-3.0.8.tar.lz
"