1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= grub
  5. PKG_VERSION:= 1.98
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c0bcf60e524739bb64e3a2d4e3732a59
  8. PKG_DESCR:= GRUB2 bootloader (source package)
  9. PKG_SECTION:= base
  10. PKG_URL:= http://www.gnu.org/software/grub
  11. PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/
  12. PKG_HOST_DEPENDS:= linux
  13. PKG_ARCH_DEPENDS:= x86 x86_64
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,GRUB,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-efiemu \
  17. --disable-grub-mkfont \
  18. --disable-grub-fstest
  19. post-install:
  20. ${INSTALL_DIR} $(IDIR_GRUB)/usr/{sbin,lib,bin}
  21. ${INSTALL_DIR} $(IDIR_GRUB)/etc
  22. ${CP} ${WRKINST}/etc/grub.d $(IDIR_GRUB)/etc
  23. ${CP} ${WRKINST}/usr/lib/* $(IDIR_GRUB)/usr/lib
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/* $(IDIR_GRUB)/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/* $(IDIR_GRUB)/usr/sbin
  26. include ${TOPDIR}/mk/pkg-bottom.mk