OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=lynx |
| 11 | PKG_VERSION:=2.8.7rel.1 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2 |
| 15 | PKG_SOURCE_URL:=http://lynx.isc.org/current |
| 16 | |
| 17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2-8-7 |
| 18 | |
| 19 | PKG_INSTALL:=1 |
| 20 | |
| 21 | include $(INCLUDE_DIR)/package.mk |
| 22 | |
| 23 | define Package/lynx |
| 24 | TITLE:=lynx |
| 25 | SECTION:=network |
| 26 | CATEGORY:=Network |
| 27 | DEPENDS:=+libncurses +zlib |
| 28 | URL:=http://lynx.isc.org |
| 29 | endef |
| 30 | |
| 31 | define Package/lynx/description |
| 32 | text console browser |
| 33 | endef |
| 34 | |
| 35 | CONFIGURE_ARGS += --with-zlib |
| 36 | |
| 37 | define 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/ |
| 42 | endef |
| 43 | |
| 44 | $(eval $(call BuildPackage,lynx)) |
| 45 |
