Makefile 980 B

123456789101112131415161718192021222324252627282930313233
  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:= w3m
  5. PKG_VERSION:= 0.5.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 1b845a983a50b8dec0169ac48479eacc
  8. PKG_DESCR:= console web browser
  9. PKG_SECTION:= app/browser
  10. PKG_DEPENDS:= libgc libncurses
  11. PKG_BUILDDEP:= libgc-host libgc ncurses
  12. PKG_URL:= http://w3m.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=w3m/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,W3M,w3m,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_LDFLAGS+= -lncurses -ltinfo
  18. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  19. CONFIGURE_ARGS+= --with-termlib=ncurses \
  20. --enable-image=no
  21. w3m-install:
  22. $(INSTALL_DIR) $(IDIR_W3M)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/w3m \
  24. $(IDIR_W3M)/usr/bin
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk