diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 12:45:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 12:45:21 +0100 |
commit | de381e1a5b340c41fcc71758b435526ee8a10323 (patch) | |
tree | bdf604a0477bd675e556ff4e632a8e68c1592d53 /package/grub/Makefile | |
parent | 0ba71fe6deb9d028d305483071ca47b85081b672 (diff) |
add grub source package and update grub-bin
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r-- | package/grub/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile new file mode 100644 index 000000000..c808d0bed --- /dev/null +++ b/package/grub/Makefile @@ -0,0 +1,35 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= grub +PKG_VERSION:= 1.97.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 66fe18cd9318e3d67a34d7b7a8e7b1f6 +PKG_DESCR:= GRand Unified Bootloader +PKG_SECTION:= base +PKG_URL:= http://www.gnu.org/software/grub +PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,GRUB,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_STYLE:= gnu +CONFIGURE_ARGS+= --disable-grub-emu \ + --disable-efiemu \ + --disable-grub-mkfont \ + --disable-grub-fstest +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} $(IDIR_GRUB)/usr/{sbin,lib,bin} + ${INSTALL_DIR} $(IDIR_GRUB)/etc + ${CP} ${WRKINST}/etc/grub.d $(IDIR_GRUB)/etc + ${CP} ${WRKINST}/usr/lib/* $(IDIR_GRUB)/usr/lib + ${INSTALL_BIN} ${WRKINST}/usr/bin/* $(IDIR_GRUB)/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/sbin/* $(IDIR_GRUB)/usr/sbin + +include ${TOPDIR}/mk/pkg-bottom.mk |