Makefile 863 B

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