1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
10 PKG_DESCR
:= console web browser
11 PKG_SECTION
:= app
/browser
12 PKG_DEPENDS
:= libgc libncurses
13 PKG_BUILDDEP
:= libgc-host libgc ncurses
14 PKG_URL
:= http
://w3m.sourceforge.net
/
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=w3m
/}
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,W3M
,w3m
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_LDFLAGS
+= -lncurses
-ltinfo
26 CONFIGURE_ENV
+= ac_cv_func_setpgrp_void
=yes
27 CONFIGURE_ARGS
+= --with-termlib
=ncurses \
28 --with-gc
=${STAGING_TARGET_DIR}/usr \
32 $(INSTALL_DIR
) $(IDIR_W3M
)/usr
/bin
33 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/w3m \
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk