diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-08-08 11:17:49 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-08-08 11:20:19 +0200 |
commit | 9ca1e84f6839c992e9e32b90511ff889f0d9a4d3 (patch) | |
tree | b1579f8a554b02f3787b4f3be5f20effeb10af03 /sci-libs/libcifpp | |
parent | media-fonts/noto-emoji: add 20220912-r2 (diff) | |
download | gentoo-9ca1e84f6839c992e9e32b90511ff889f0d9a4d3.tar.gz gentoo-9ca1e84f6839c992e9e32b90511ff889f0d9a4d3.tar.bz2 gentoo-9ca1e84f6839c992e9e32b90511ff889f0d9a4d3.zip |
sci-libs/libcifpp: add 5.1.1
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.1.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest index 94e30350ad3d..beb53c152004 100644 --- a/sci-libs/libcifpp/Manifest +++ b/sci-libs/libcifpp/Manifest @@ -2,3 +2,5 @@ DIST libcifpp-5.0.8-components.cif.gz 89984770 BLAKE2B d42147d4da56589ac30de9fc3 DIST libcifpp-5.0.8.tar.gz 1873629 BLAKE2B 07257a898b1253995880fea9b416b3a7681122b544f8397d353fda4069c33f4a6c2d5cf2210983acf68dc56cb27a20d780461c7c2485a445855e7b45cccd326d SHA512 4ea67fa4a93218fe96289de95591faa9411508e41e308f4ff470033fb0deb4029a86eafb7ba9295807fe3b350e8cc9f2267f7735ee8b1dbb431ee0275db2b8cc DIST libcifpp-5.1.0.1-components.cif.xz 58001076 BLAKE2B 4d838e47c74540af54256f6124bd79c9c372c6768eeeabc620b54e1b2c49b2c2adc0b937f195f9544b9f2362fb60c209fb74f88c451ba6d50fe5da5f15ba768b SHA512 e7933a78a61e40c4b2e2aedfda0f36c79939fadc71c78cfde59fcec4de5c2b6c9cf1dbccc383a2f0bbf48744c776cdbb5e7c862e47a6fd2ec229c811caa9b5bc 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 diff --git a/sci-libs/libcifpp/libcifpp-5.1.1.ebuild b/sci-libs/libcifpp/libcifpp-5.1.1.ebuild new file mode 100644 index 000000000000..8d30793f975e --- /dev/null +++ b/sci-libs/libcifpp/libcifpp-5.1.1.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 +# ftp://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 +} |