Makefile 891 B

1234567891011121314151617181920212223242526272829
  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:= grep
  5. PKG_VERSION:= 2.7
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= e848f07e3e79aa7899345d17c7e4115e
  8. PKG_DESCR:= global search for a regular expression and print out matched lines
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libpcre libiconv
  11. PKG_BUILDDEP:= pcre
  12. PKG_URL:= http://www.gnu.org/software/grep/
  13. PKG_SITES:= ftp://ftp.gnu.org/gnu/grep/
  14. PKG_NOPARALLEL:= 1
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_LDFLAGS+= -liconv
  18. CONFIGURE_ARGS+= --without-included-regex
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_GREP)/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/{e,f,}grep $(IDIR_GREP)/bin
  22. include ${TOPDIR}/mk/pkg-bottom.mk