1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-06-26 02:36:42 +03:00

lynx: enable SSL and UTF-8 support

This commit is contained in:
kyak 2010-11-13 14:52:29 +03:00
parent 5de66bdfab
commit 47d10097c5
2 changed files with 20 additions and 7 deletions

View File

@ -8,15 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lynx
PKG_VERSION:=2.8.7rel.1
PKG_VERSION:=2.8.8dev.6
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://lynx.isc.org/current
PKG_MD5SUM:=289255204d23c2c3e8094b50a8638dfc
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-7
PKG_INSTALL:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-8
include $(INCLUDE_DIR)/package.mk
@ -24,7 +23,7 @@ define Package/lynx
TITLE:=lynx
SECTION:=network
CATEGORY:=Network
DEPENDS:=+libncurses +zlib
DEPENDS:=+libncursesw +zlib +libopenssl
URL:=http://lynx.isc.org
endef
@ -32,11 +31,22 @@ define Package/lynx/description
text console browser
endef
CONFIGURE_ARGS += --with-zlib
CONFIGURE_ARGS += --with-zlib --with-ssl \
--with-screen=ncursesw \
--enable-widec \
--enable-locale-charset \
--disable-color-style \
--enable-charset-choice \
--enable-cjk \
--enable-japanese-utf8 \
--enable-nsl-fork
CONFIGURE_VARS += cf_cv_ncurses_header="ncursesw/curses.h" \
ac_cv_path_NCURSES_CONFIG=""
define Package/lynx/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lynx $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lynx $(1)/usr/bin/
$(INSTALL_DATA) ./files/etc/lynx.cfg $(1)/etc/
$(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
endef

View File

@ -0,0 +1,3 @@
LOCALE_CHARSET:TRUE
ASSUME_CHARSET:utf-8
ASSUME_LOCAL_CHARSET:utf-8