mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 17:54:39 +02:00
lynx: enable SSL and UTF-8 support
This commit is contained in:
parent
5de66bdfab
commit
47d10097c5
@ -8,15 +8,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=lynx
|
PKG_NAME:=lynx
|
||||||
PKG_VERSION:=2.8.7rel.1
|
PKG_VERSION:=2.8.8dev.6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://lynx.isc.org/current
|
PKG_SOURCE_URL:=http://lynx.isc.org/current
|
||||||
|
PKG_MD5SUM:=289255204d23c2c3e8094b50a8638dfc
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-7
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-8
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -24,7 +23,7 @@ define Package/lynx
|
|||||||
TITLE:=lynx
|
TITLE:=lynx
|
||||||
SECTION:=network
|
SECTION:=network
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libncurses +zlib
|
DEPENDS:=+libncursesw +zlib +libopenssl
|
||||||
URL:=http://lynx.isc.org
|
URL:=http://lynx.isc.org
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -32,11 +31,22 @@ define Package/lynx/description
|
|||||||
text console browser
|
text console browser
|
||||||
endef
|
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
|
define Package/lynx/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc
|
$(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.cfg $(1)/etc/
|
||||||
$(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
|
$(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
|
||||||
endef
|
endef
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
LOCALE_CHARSET:TRUE
|
||||||
|
ASSUME_CHARSET:utf-8
|
||||||
|
ASSUME_LOCAL_CHARSET:utf-8
|
Loading…
Reference in New Issue
Block a user