1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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_HASH:= e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
  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. --with-gc=${STAGING_TARGET_DIR}/usr \
  21. --enable-image=no
  22. w3m-install:
  23. $(INSTALL_DIR) $(IDIR_W3M)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/w3m \
  25. $(IDIR_W3M)/usr/bin
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk