Files
guru/net-libs/libuecc/libuecc-7.ebuild
Artemis Everfree 99306e3cd2 net-libs/libuecc: Add static-libs USE flag
Signed-off-by: Artemis Everfree <artemis@artemis.sh>
2023-02-02 11:44:26 -08:00

23 lines
523 B
Bash

# Copyright 1999-2023 Gentoo Authors
#
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="a very small Elliptic Curve Cryptography library
compatible with Ed25519."
HOMEPAGE="https://github.com/NeoRaider/libuecc"
SRC_URI="https://github.com/NeoRaider/libuecc/releases/download/v${PV}/${P}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="static-libs"
src_install() {
cmake_src_install
if ! use static-libs; then
find "${ED}" -name "*.a" -delete
fi
}