diff options
author | 2021-12-16 09:46:32 +0100 | |
---|---|---|
committer | 2021-12-16 09:46:54 +0100 | |
commit | 7196487a84197faf119aeda975350cedc64b256b (patch) | |
tree | 4ba6140d17e29813816774680c310d75e07165a2 /sci-libs/libcifpp/libcifpp-3.0.0.ebuild | |
parent | dev-python/pylama: Bump to 8.3.6 (diff) | |
download | gentoo-7196487a84197faf119aeda975350cedc64b256b.tar.gz gentoo-7196487a84197faf119aeda975350cedc64b256b.tar.bz2 gentoo-7196487a84197faf119aeda975350cedc64b256b.zip |
sci-libs/libcifpp: Bump to 3.0.0
Closes: https://bugs.gentoo.org/823914
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs/libcifpp/libcifpp-3.0.0.ebuild')
-rw-r--r-- | sci-libs/libcifpp/libcifpp-3.0.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/libcifpp-3.0.0.ebuild b/sci-libs/libcifpp/libcifpp-3.0.0.ebuild new file mode 100644 index 000000000000..b2fd2f6f962e --- /dev/null +++ b/sci-libs/libcifpp/libcifpp-3.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 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" +SRC_URI=" + https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz -> components-${PV}.cif.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=">=dev-libs/boost-1.70:=[threads(+)]" +RDEPEND="${DEPEND}" + +src_configure() { + cp "${WORKDIR}"/components-${PV}.cif data/components.cif || die + + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DCIFPP_BUILD_TESTS="$(usex test)" + ) + cmake_src_configure +} |