#
|
|
# Copyright (C) 2016 Shuanglei Tao <tsl0922@gmail.com>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ttyd
|
|
PKG_VERSION:=1.3.3+git-04d5bc
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/tsl0922/ttyd.git
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_VERSION:=04d5bc1ecb59667d025a94e1967a83c24141f911
|
|
PKG_MIRROR_HASH=87ea900f7bf67daf5131ecfcec0917e175d168ce52771012139c06dbafcc641d
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
CMAKE_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/ttyd
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Command-line tool for sharing terminal over the web
|
|
DEPENDS:=+libopenssl +libjson-c +libpthread +libwebsockets-openssl
|
|
URL:=https://github.com/tsl0922/ttyd
|
|
SUBMENU:=Terminal
|
|
MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com>
|
|
endef
|
|
|
|
define Package/ttyd/description
|
|
ttyd is a command-line tool for sharing terminal over the web.
|
|
endef
|
|
|
|
define Package/ttyd/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttyd $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ttyd))
|