dev-libs/libcotp - 3.1.0 (dwosky)

Search

Package Information

Description:
C library that generates TOTP and HOTP
Homepage:
https://github.com/paolostivanin/libcotp
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.1.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

inherit cmake

DESCRIPTION="C library that generates TOTP and HOTP"
HOMEPAGE="https://github.com/paolostivanin/libcotp"
SRC_URI="https://github.com/paolostivanin/libcotp/archive/v${PV}.zip -> ${P}.zip"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
	sys-devel/gcc
  dev-build/cmake
	|| ( >=dev-libs/libgcrypt-1.8.0 >=dev-libs/openssl-3.0.0 )
"

src_prepare() {
    cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX:PATH=/usr ../
    )
    cmake_src_configure
}

Dependencies

DEPEND

	sys-devel/gcc
  dev-build/cmake
	|| ( >=dev-libs/libgcrypt-1.8.0 >=dev-libs/openssl-3.0.0 )

Manifest for 3.1.0

Type File Size Source URLs
DIST libcotp-3.1.0.zip 28594 bytes https://github.com/paolostivanin/libcotp/archive/v3.1.0.zip