1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 02:15:55 +02:00
openwrt-packages/lynx/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

2009-10-05 12:14:28 +03:00
#
# 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
2010-11-13 13:52:29 +02:00
PKG_VERSION:=2.8.8dev.6
2009-10-05 12:14:28 +03:00
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://lynx.isc.org/current
2010-11-13 13:52:29 +02:00
PKG_MD5SUM:=289255204d23c2c3e8094b50a8638dfc
2009-10-05 12:14:28 +03:00
2010-11-13 13:52:29 +02:00
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-8
2009-10-05 12:14:28 +03:00
include $(INCLUDE_DIR)/package.mk
define Package/lynx
TITLE:=lynx
SECTION:=network
CATEGORY:=Network
2010-11-13 13:52:29 +02:00
DEPENDS:=+libncursesw +zlib +libopenssl
2009-10-05 12:14:28 +03:00
URL:=http://lynx.isc.org
endef
define Package/lynx/description
text console browser
endef
2010-11-13 13:52:29 +02:00
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=""
2009-10-16 01:22:18 +03:00
2009-10-05 12:14:28 +03:00
define Package/lynx/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc
2010-11-13 13:52:29 +02:00
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lynx $(1)/usr/bin/
2009-10-05 12:14:28 +03:00
$(INSTALL_DATA) ./files/etc/lynx.cfg $(1)/etc/
$(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
endef
$(eval $(call BuildPackage,lynx))