sci-libs/libcifpp - 9.0.5 (gentoo)

Search

Package Information

Description:
Code to work with mmCIF and PDB files
Homepage:
https://github.com/PDB-REDO/libcifpp
License:
BSD-2

Ebuild Details

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

EAPI=8
inherit cmake

DESCRIPTION="Code to work with mmCIF and PDB files"
HOMEPAGE="https://github.com/PDB-REDO/libcifpp"
# Update components file on every bump
# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
SRC_URI="
	https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

DEPEND="
	>=dev-cpp/eigen-3.4.0:3
	dev-libs/boost:=
	dev-libs/libpcre2
	virtual/zlib:=
	test? ( dev-cpp/catch:0 )
"
RDEPEND="${DEPEND}"

src_configure() {
	cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die

	local mycmakeargs=(
		-DBUILD_SHARED_LIBS=ON
		-DCIFPP_INSTALL_UPDATE_SCRIPT=OFF
		-DBUILD_TESTING="$(usex test)"
	)
	cmake_src_configure
}

USE Flags

Dependencies

DEPEND

	>=dev-cpp/eigen-3.4.0:3
	dev-libs/boost:=
	dev-libs/libpcre2
	virtual/zlib:=
	test? ( dev-cpp/catch:0 )

RDEPEND

	>=dev-cpp/eigen-3.4.0:3
	dev-libs/boost:=
	dev-libs/libpcre2
	virtual/zlib:=
	test? ( dev-cpp/catch:0 )

Manifest for 9.0.5

Type File Size Source URLs
DIST libcifpp-9.0.5-components.cif.xz 70647304 bytes https://dev.gentoo.org/~pacho/libcifpp/libcifpp-9.0.5-components.cif.xz
DIST libcifpp-9.0.5.tar.gz 2735738 bytes https://github.com/PDB-REDO/libcifpp/archive/refs/tags/v9.0.5.tar.gz