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.7rel.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://lynx.isc.org/current
16
17PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-7
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/lynx
24    TITLE:=lynx
25    SECTION:=network
26    CATEGORY:=Network
27    DEPENDS:=+libncurses +zlib
28    URL:=http://lynx.isc.org
29endef
30
31define Package/lynx/description
32    text console browser
33endef
34
35CONFIGURE_ARGS += --with-zlib
36
37define Package/lynx/install
38    $(INSTALL_DIR) $(1)/usr/bin $(1)/etc
39    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lynx $(1)/usr/bin/
40    $(INSTALL_DATA) ./files/etc/lynx.cfg $(1)/etc/
41    $(INSTALL_DATA) ./files/etc/lynx.lss $(1)/etc/
42endef
43
44$(eval $(call BuildPackage,lynx))
45

Archive Download this file



interactive