mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 13:41:05 +00:00
28 lines
675 B
Bash
28 lines
675 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="ttyrec provides tools to record and replay a terminal session"
|
|
HOMEPAGE="https://github.com/ovh/ovh-ttyrec"
|
|
SRC_URI="https://github.com/ovh/ovh-ttyrec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/ovh-${P}"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
IUSE="+zstd"
|
|
|
|
RDEPEND="zstd? ( app-arch/zstd:= )"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-1.1.7.1-flags.patch
|
|
)
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
NO_STATIC_ZSTD=1 NO_ZSTD=$(usev !zstd 1) econf
|
|
}
|