2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=c09d726075e4b5810fa07f8654088755
16 PKG_SOURCE_URL
:=http
://elinks.or.cz
/download
/
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=A text based web browser
29 DESCRIPTION
:=An advanced text based web browser
30 URL
:=http
://elinks.or.cz
/
33 define Build
/Configure
34 $(call Build
/Configure
/Default
,--enable-small\
43 --disable-uri-rewrite\
51 --with-openssl
="$(STAGING_DIR)/usr" \
52 --without-spidermonkey\
55 --disable-ipv6 \
, x
=`echo ac_cv_file_./features.conf | tr [:blank:]-/. _` && export $$$${x}=yes
&& \
56 x
=`echo ac_cv_file_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $$$${x}=yes
&& \
57 ac_cv_func_getifaddrs
=no \
62 $(MAKE
) -C
$(PKG_BUILD_DIR
)\
63 CC
="$(TARGET_CC)" LD
="$(TARGET_CROSS)ld"
66 define Package
/elinks
/install
68 $(CP
) $(PKG_BUILD_DIR
)/src
/elinks
$(1)/usr
/bin
/
71 $(eval
$(call BuildPackage
,elinks
))
73 $(eval
$(call RequireCommand
,autoconf
, \
74 elinks requires GNU autoconf. \