Root/lynx/Makefile

1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=lynx
11PKG_VERSION:=2.8.8dev.6
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://lynx.isc.org/current
16PKG_MD5SUM:=289255204d23c2c3e8094b50a8638dfc
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-8
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/lynx
23    TITLE:=lynx
24    SECTION:=network
25    CATEGORY:=Network
26    DEPENDS:=+libncursesw +zlib +libopenssl
27    URL:=http://lynx.isc.org
28endef
29
30define Package/lynx/description
31    text console browser
32endef
33
34CONFIGURE_ARGS += --with-zlib --with-ssl \
35          --with-screen=ncursesw \
36          --enable-widec \
37          --enable-locale-charset \
38          --disable-color-style \
39          --enable-charset-choice \
40          --enable-cjk \
41          --enable-japanese-utf8 \
42          --enable-nsl-fork
43
44CONFIGURE_VARS += cf_cv_ncurses_header="ncursesw/curses.h" \
45          ac_cv_path_NCURSES_CONFIG=""
46
47define Package/lynx/install
48    $(INSTALL_DIR) $(1)/usr/bin $(1)/etc
49    $(INSTALL_BIN) $(PKG_BUILD_DIR)/lynx $(1)/usr/bin/
50    $(INSTALL_DATA) ./files/etc/lynx.cfg $(1)/etc/
51    $(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
52endef
53
54$(eval $(call BuildPackage,lynx))
55

Archive Download this file



interactive