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-3.0.8.tar.bz2'
DESC="library to develop applications using GNU toolchain and EFI dev environment"
REQUIRES="libelf-compat"

build() {
  compileonlyfor x86_64
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  make PREFIX="/" INSTALLROOT="$PKG" -j1 all install

  mkfinalpkg
}

SHA512SUMS="
e4e1570bef9b3a3f4e321cd84e2f497a277b3c71e8e1d2321369f5b4c0ffede6c8a8f98bc03507cd436eb247b2e6028bd719e16db5f96a57873e2910bb38be0c  gnu-efi-3.0.8.tar.lz
"
