mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-19 06:52:49 +02:00
add links package
This commit is contained in:
parent
29c1069b30
commit
a16f4ea1c7
42
links/Makefile
Normal file
42
links/Makefile
Normal 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))
|
Loading…
Reference in New Issue
Block a user