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