imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / w3m / Makefile
blob8b553b01b5ddfda130ebf797d24901fd79ba8f67
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
6 PKG_NAME:= w3m
7 PKG_VERSION:= 0.5.3
8 PKG_RELEASE:= 4
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/}
17 PKG_NOPARALLEL:= 1
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 \
29 --enable-image=no
31 w3m-install:
32 $(INSTALL_DIR) $(IDIR_W3M)/usr/bin
33 $(INSTALL_BIN) $(WRKINST)/usr/bin/w3m \
34 $(IDIR_W3M)/usr/bin
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk