Makefile 875 B

123456789101112131415161718192021222324252627
  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:= patch
  5. PKG_VERSION:= 2.7.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e9ae5393426d3ad783a300a338c09b72
  8. PKG_DESCR:= patch utility
  9. PKG_SECTION:= sys/utils
  10. PKG_URL:= http://www.gnu.org/software/patch/
  11. PKG_SITES:= ${MASTER_SITE_GNU:=patch/}
  12. PKG_BB:= 1
  13. include $(ADK_TOPDIR)/mk/host.mk
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,PATCH,patch,$(PKG_VERSION)-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,PATCH,patch,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. patch-install:
  18. $(INSTALL_DIR) $(IDIR_PATCH)/usr/bin
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/patch $(IDIR_PATCH)/usr/bin
  20. include ${ADK_TOPDIR}/mk/host-bottom.mk
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk