mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 03:46:19 +00:00
35c0915eac
release notes: - https://github.com/tsl0922/ttyd/releases/tag/1.7.3 log: - https://github.com/tsl0922/ttyd/compare/1.7.2...1.7.3
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="ttyd"
|
|
PKG_VERSION="1.7.3"
|
|
PKG_SHA256="c9cf5eece52d27c5d728000f11315d36cb400c6948d1964a34a7eae74b454099"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://github.com/tsl0922/ttyd"
|
|
PKG_URL="https://github.com/tsl0922/ttyd/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain libwebsockets"
|
|
PKG_SECTION="service"
|
|
PKG_SHORTDESC="ttyd: a tool for accessing the terminal over a browser"
|
|
PKG_LONGDESC="ttyd (${PKG_VERSION}): is a simple command-line tool for sharing terminal over the web"
|
|
|
|
PKG_IS_ADDON="yes"
|
|
PKG_ADDON_NAME="Web SSH Terminal"
|
|
PKG_ADDON_TYPE="xbmc.service"
|
|
|
|
addon() {
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
cp -P ${PKG_INSTALL}/usr/bin/ttyd ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
cp -p $(get_install_dir json-c)/usr/lib/libjson-c.so.5 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
cp -p $(get_install_dir libwebsockets)/usr/lib/libwebsockets.so.19 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
cp -p $(get_install_dir libwebsockets)/usr/lib/libwebsockets-evlib_uv.so ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
cp -p $(get_install_dir libuv)/usr/lib/libuv.so.1 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
}
|