Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.97.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 66fe18cd9318e3d67a34d7b7a8e7b1f6
  8. PKG_DESCR:= GRand Unified Bootloader
  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_TARGET_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-grub-emu \
  17. --disable-efiemu \
  18. --disable-grub-mkfont \
  19. --disable-grub-fstest
  20. post-install:
  21. ${INSTALL_DIR} $(IDIR_GRUB)/usr/{sbin,lib,bin}
  22. ${INSTALL_DIR} $(IDIR_GRUB)/etc
  23. ${CP} ${WRKINST}/etc/grub.d $(IDIR_GRUB)/etc
  24. ${CP} ${WRKINST}/usr/lib/* $(IDIR_GRUB)/usr/lib
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/* $(IDIR_GRUB)/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/* $(IDIR_GRUB)/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk