Makefile 1018 B

123456789101112131415161718192021222324252627282930
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= mtools
  5. PKG_VERSION:= 4.0.18
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 30d408d039b4cedcd04fbf824c89b0ff85dcbb6f71f13d2d8d65abb3f58cacc3
  8. PKG_DESCR:= utilities to access fat filesystems
  9. PKG_SECTION:= sys/fs
  10. PKG_URL:= https://www.gnu.org/software/mtools/intro.html
  11. PKG_SITES:= ftp://ftp.gnu.org/gnu/mtools/
  12. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. include ${ADK_TOPDIR}/mk/host.mk
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call HOST_template,MTOOLS,mtools,${PKG_VERSION}-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,MTOOLS,mtools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  18. mtools-install:
  19. ${INSTALL_DIR} ${IDIR_MTOOLS}/usr/bin
  20. ${CP} ${WRKINST}/usr/bin/m* ${IDIR_MTOOLS}/usr/bin
  21. include ${ADK_TOPDIR}/mk/host-bottom.mk
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk