diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-28 03:04:45 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-28 03:04:45 -0500 |
| commit | a0e0a56dbeec1a3cf0f82d55d0bd7540943daf84 (patch) | |
| tree | 2f1f9356b8039b0c455d7ca0f9d80e9670c6c471 /www-apps/ttyd | |
| parent | cae7be1ab2bd23fee3929a8e940d968ee86a78e6 (diff) | |
| download | baldeagleos-repo-a0e0a56dbeec1a3cf0f82d55d0bd7540943daf84.tar.gz baldeagleos-repo-a0e0a56dbeec1a3cf0f82d55d0bd7540943daf84.tar.xz baldeagleos-repo-a0e0a56dbeec1a3cf0f82d55d0bd7540943daf84.zip | |
Adding metadata
Diffstat (limited to 'www-apps/ttyd')
| -rw-r--r-- | www-apps/ttyd/ttyd-1.7.7-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/www-apps/ttyd/ttyd-1.7.7-r2.ebuild b/www-apps/ttyd/ttyd-1.7.7-r2.ebuild new file mode 100644 index 000000000000..8d9031578929 --- /dev/null +++ b/www-apps/ttyd/ttyd-1.7.7-r2.ebuild @@ -0,0 +1,38 @@ +# 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 +} |
