diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-08-23 16:04:16 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-08-23 16:48:32 +0200 |
commit | 2a76f7edde29416cacd43e25366e67594dd7f4f9 (patch) | |
tree | 4c528d634368a88f103c47f4eb0fff1b77df5950 /sci-libs/libcifpp | |
parent | net-p2p/transmission: depend on >=dev-cpp/gtkmm-4.11.1 (diff) | |
download | gentoo-2a76f7edde29416cacd43e25366e67594dd7f4f9.tar.gz gentoo-2a76f7edde29416cacd43e25366e67594dd7f4f9.tar.bz2 gentoo-2a76f7edde29416cacd43e25366e67594dd7f4f9.zip |
sci-libs/libcifpp: add 5.1.2
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs/libcifpp')
-rw-r--r-- | sci-libs/libcifpp/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libcifpp/libcifpp-5.1.2.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest index feb34da37448..3e908ec8173b 100644 --- a/sci-libs/libcifpp/Manifest +++ b/sci-libs/libcifpp/Manifest @@ -2,3 +2,5 @@ DIST libcifpp-5.1.0.1-components.cif.xz 58001076 BLAKE2B 4d838e47c74540af54256f6 DIST libcifpp-5.1.0.1.tar.gz 2242975 BLAKE2B 7cada39ed6096ee12e662422d1676dadbf0ae71958c206ef4105daeeaaa9b14cbf17143c3baf4e2914e8289801667829af1361d643846827044d7c8e1eb15fa2 SHA512 9ca3d7db5889d1baf713475fbfeaf355f45ecb139c838da6348d4bb054c2241204499d3f46e4d45075f2d60f6c48e29866ccf2994c26098b303573d7ba39204d DIST libcifpp-5.1.1-components.cif.xz 58896016 BLAKE2B 2bf61944fe6b11325df3c6c32eaabeb27b0f117eed362dd2eba51f623f4054d142ee84aeb04908322b7aebd30a1bd17da969eeda953f7423cca922006fe767d2 SHA512 d4103ac0b0ae5698dd4c17e452ea35871c4854827d3a2ee93f00b73b6f57b87ee2278b44ec0501f818dfc34284b4c19d4617ba3a98df9552da5ebedaa59c9622 DIST libcifpp-5.1.1.tar.gz 2244833 BLAKE2B 3a5feada63ee123dbed1ba776d0248569f46bbc2d39748db7d3cdfdfb66c89e08c54cdf5133182978e9ef4808c19adfc794ee895a95e882f0d5ff3d173e57311 SHA512 3e988d0e4f24174fb47274b0feaae5a8a793441efb9c8273b328f412fbd29ee082cd91e19f19008069ebfd3507c83f7945dc33fc015784727603f987091eaa5c +DIST libcifpp-5.1.2-components.cif.xz 59092332 BLAKE2B 3672ca8e9553be80822ca7d7398fd3b73b14b1bf375e63f3a7aef33c2ee92d837c9ca08b3a756d838c512ac5918a0537d70e9a422331fafaf0ff77ecf2134515 SHA512 b2d3507d339d8467b10d0a638a5b86e75ed73fb64fee854aefeb2f0ce999e6a99755af30483749ce75e8a4ce63536111bd2a7a5f698dfc86d1a2be3d243304ce +DIST libcifpp-5.1.2.tar.gz 2244795 BLAKE2B 7bec9f901c112fabf86c9ce691229f42dcf854be4c99bdf09dbe7dd0d0a3a7e92831cb2b72afa4debc1ce8b1a3a33e27cceda048adca6805802189e0ad50349c SHA512 3adb801ed52b250f6779228288a2c2926c1c7d8d0eff0bb6ed610b4258de8537253d2ce95208e8682b2eb8d0c09ecb53b6269c24bdce907360d9478c6c8c3c1b diff --git a/sci-libs/libcifpp/libcifpp-5.1.2.ebuild b/sci-libs/libcifpp/libcifpp-5.1.2.ebuild new file mode 100644 index 000000000000..47d08fc49c68 --- /dev/null +++ b/sci-libs/libcifpp/libcifpp-5.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 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 +# http://ftp.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 + dev-libs/boost:= +" +RDEPEND="${DEPEND}" + +src_configure() { + cp "${WORKDIR}"/${P}-components.cif data/components.cif || die + + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DCIFPP_DOWNLOAD_CCD=OFF + -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF + -DENABLE_TESTING="$(usex test)" + ) + cmake_src_configure +} |