1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 09:46:28 +02:00

add links package

This commit is contained in:
Xiangfu Liu 2009-10-18 10:57:30 +08:00
parent 29c1069b30
commit a16f4ea1c7

42
links/Makefile Normal file
View File

@ -0,0 +1,42 @@
#
# Copyright (C) 2009 Qi Hardware Inc.
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=links
PKG_VERSION:=2.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://links.twibright.com/download/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/links
TITLE:=links
SECTION:=network
CATEGORY:=Network
DEPENDS:=+libncurses
URL:=http://links.twibright.com/
endef
define Package/links/description
text console browser
endef
CONFIGURE_ARGS += --without-x --without-fb --without-directfb
define Package/links/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/links2 $(1)/usr/bin/
endef
$(eval $(call BuildPackage,links))