Makefile 1001 B

12345678910111213141516171819202122232425262728293031
  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:= grep
  5. PKG_VERSION:= 3.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= e2c81db5056e3e8c5995f0bb5d0d0e1cad1f6f45c3b2fc77b6e81435aed48ab5
  8. PKG_DESCR:= global search for a regex
  9. PKG_SECTION:= base/tools
  10. PKG_DEPENDS:= libpcre
  11. PKG_BUILDDEP:= pcre
  12. HOST_BUILDDEP:= pcre-host
  13. PKG_URL:= http://www.gnu.org/software/grep/
  14. PKG_SITES:= ${MASTER_SITE_GNU:=grep/}
  15. PKG_NOPARALLEL:= 1
  16. PKG_BB:= 1
  17. include $(ADK_TOPDIR)/mk/host.mk
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,GREP,grep,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,GREP,grep,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. grep-install:
  22. $(INSTALL_DIR) $(IDIR_GREP)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/{e,f,}grep $(IDIR_GREP)/usr/bin
  24. include ${ADK_TOPDIR}/mk/host-bottom.mk
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk