36 lines
No EOL
659 B
Bash
36 lines
No EOL
659 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3 cargo
|
|
|
|
DESCRIPTION="A feature rich terminal file transfer"
|
|
HOMEPAGE="https://termscp.veeso.dev"
|
|
|
|
EGIT_REPO_URI="https://github.com/veeso/termscp.git"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
IUSE="dbus samba"
|
|
|
|
DEPEND="dev-libs/openssl
|
|
dbus? ( sys-apps/dbus )
|
|
samba? ( net-fs/samba )
|
|
"
|
|
RDEPEND=${DEPEND}
|
|
|
|
BDEPEND="dev-vcs/git
|
|
sys-devel/gcc
|
|
|| ( dev-lang/rust dev-lang/rust-bin )"
|
|
|
|
src_unpack() {
|
|
git-r3_fetch
|
|
cargo_live_src_unpack
|
|
}
|
|
|
|
src_compile() {
|
|
cargo_scr_compile
|
|
} |