blob: e94c23199286ac06fccbe49b9913d5630fc677ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake systemd
DESCRIPTION="Share your terminal over the web"
HOMEPAGE="https://github.com/tsl0922/ttyd"
SRC_URI="https://github.com/tsl0922/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/json-c:=
dev-libs/libuv:=
dev-libs/openssl:=
net-libs/libwebsockets:=[libuv,ssl]
sys-libs/zlib:=
"
RDEPEND="${DEPEND}"
src_install() {
cmake_src_install
systemd_dounit "${FILESDIR}"/ttyd.service
newinitd "${FILESDIR}"/ttyd.initd ttyd
newconfd "${FILESDIR}"/ttyd.confd ttyd
}
|