You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
941 B
53 lines
941 B
4 years ago
|
# Copyright 2017-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
# Auto-Generated by cargo-ebuild 0.3.1
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
CRATES="
|
||
|
autocfg-1.0.1
|
||
|
base64-0.13.0
|
||
|
bitflags-1.2.1
|
||
|
cc-1.0.67
|
||
|
cfg-if-1.0.0
|
||
|
foreign-types-0.3.2
|
||
|
foreign-types-shared-0.1.1
|
||
|
getrandom-0.2.2
|
||
|
libc-0.2.90
|
||
|
once_cell-1.7.2
|
||
|
openssl-0.10.33
|
||
|
openssl-sys-0.9.61
|
||
|
pkg-config-0.3.19
|
||
|
rustc_version-0.2.3
|
||
|
semver-0.9.0
|
||
|
semver-parser-0.7.0
|
||
|
smallvec-1.6.1
|
||
|
vcpkg-0.2.11
|
||
|
wasi-0.10.2+wasi-snapshot-preview1
|
||
|
"
|
||
|
|
||
|
inherit cargo
|
||
|
|
||
|
DESCRIPTION="chacha20_poly1305 encryption tool"
|
||
|
|
||
|
HOMEPAGE="https://git.flanchan.moe/flanchan/chacha20"
|
||
|
SRC_URI="$(cargo_crate_uris ${CRATES}) https://github.com/notflan/chacha20/releases/download/v${PV}/${P}.crate"
|
||
|
RESTRICT="mirror"
|
||
|
|
||
|
LICENSE="GPL-3+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64"
|
||
|
IUSE="explicit_clear"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND=""
|
||
|
|
||
|
|
||
|
src_configure() {
|
||
|
local myfeatures=(
|
||
|
$(usev explicit_clear)
|
||
|
)
|
||
|
cargo_src_configure --no-default-features
|
||
|
}
|