www-apps/ttyd - 1.7.7-r2 (gentoo)

Search

Install

Install this version:

emerge -a =www-apps/ttyd-1.7.7-r2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-apps/ttyd-1.7.7-r2

Or alternatively:

emerge --autounmask-write -a =www-apps/ttyd-1.7.7-r2

Package Information

Description:
ttyd, a simple command-line tool for sharing terminal over the web
Homepage:
https://github.com/tsl0922/ttyd
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.7.7-r2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake systemd

DESCRIPTION="ttyd, a simple command-line tool for sharing terminal over the web"
HOMEPAGE="https://github.com/tsl0922/ttyd"

if [[ ${PV} == "9999" ]]; then
	EGIT_REPO_URI="https://github.com/tsl0922/ttyd.git"
	inherit git-r3
else
	SRC_URI="https://github.com/tsl0922/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE="mbedtls"
RDEPEND="
	dev-libs/json-c:=
	dev-libs/libuv:=
	=net-libs/libwebsockets-4.5*:=[libuv,mbedtls=,ssl]
	net-libs/libwebsockets:=
	virtual/zlib:=
	!mbedtls? ( dev-libs/openssl:= )
"
DEPEND="${RDEPEND}"

src_install() {
	cmake_src_install

	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
	newconfd "${FILESDIR}/${PN}.confd" "${PN}"
	systemd_dounit "${FILESDIR}"/${PN}.service
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-apps/ttyd | euse -E <flag> -p www-apps/ttyd | euse -D <flag> -p www-apps/ttyd

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/json-c:=
	dev-libs/libuv:=
	=net-libs/libwebsockets-4.5*:=[libuv,mbedtls=,ssl]
	net-libs/libwebsockets:=
	virtual/zlib:=
	!mbedtls? ( dev-libs/openssl:= )

RDEPEND

	dev-libs/json-c:=
	dev-libs/libuv:=
	=net-libs/libwebsockets-4.5*:=[libuv,mbedtls=,ssl]
	net-libs/libwebsockets:=
	virtual/zlib:=
	!mbedtls? ( dev-libs/openssl:= )