dev-libs/otcommon - 3.3.0 (opentransactions)

Search

Install

Install this version:

emerge -a =dev-libs/otcommon-3.3.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/otcommon-3.3.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/otcommon-3.3.0

Package Information

Description:
CMake modules and dev support files for libopentxs and dependent projects
Homepage:
https://github.com/Open-Transactions/otcommon
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
3.3.0 8 amd64 arm arm64 ia64 loong m68k mips ppc ppc64 riscv s390 sparc x86 0
View Raw Ebuild
# Copyright (c) 2024 The Open-Transactions developers
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

EAPI=8
CMAKE_MAKEFILE_GENERATOR="ninja"
inherit cmake

DESCRIPTION="CMake modules and dev support files for libopentxs and dependent projects"
HOMEPAGE="https://github.com/Open-Transactions/otcommon"
GIT_COMMIT_HASH="bdc1a5d80bf9ad0703a364a382d9af1dbc7f4624"
GIT_DESCRIBE="3.3.0-0-gbdc1a5d"
SRC_URI="https://github.com/Open-Transactions/otcommon/archive/${GIT_COMMIT_HASH}.tar.gz"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ia64 loong m68k mips ppc ppc64 riscv s390 sparc x86"

DEPEND=">=dev-build/cmake-3.26.0"
RDEPEND="${DEPEND}"
BDEPEND=">=app-alternatives/ninja-1"

src_unpack() {
	unpack "${A}"
	mv "${PN}-${GIT_COMMIT_HASH}" "${PN}-${PVR}"
}

src_prepare() {
	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=( "-Dotcommon_GIT_VERSION=${GIT_DESCRIBE}" )
	cmake_src_configure
}

src_install() {
	cmake_src_install
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-build/cmake-3.26.0

RDEPEND

>=dev-build/cmake-3.26.0

BDEPEND

>=app-alternatives/ninja-1

Manifest for 3.3.0

Type File Size Source URLs
DIST bdc1a5d80bf9ad0703a364a382d9af1dbc7f4624.tar.gz 17979 bytes https://github.com/Open-Transactions/otcommon/archive/bdc1a5d80bf9ad0703a364a382d9af1dbc7f4624.tar.gz