mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 00:29:41 +02:00
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=lynx
|
|
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-8
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/lynx
|
|
TITLE:=lynx
|
|
SECTION:=network
|
|
CATEGORY:=Network
|
|
DEPENDS:=+libncursesw +zlib +libopenssl +libidn
|
|
URL:=http://lynx.isc.org
|
|
endef
|
|
|
|
define Package/lynx/description
|
|
text console browser
|
|
endef
|
|
|
|
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_BUILD_DIR)/lynx $(1)/usr/bin/
|
|
$(INSTALL_DATA) ./files/etc/lynx.cfg $(1)/etc/
|
|
$(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,lynx))
|