summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-03-14 18:30:01 +0100
committerPacho Ramos <pacho@gentoo.org>2020-03-14 18:32:05 +0100
commit184d26371cade2dc4a4913fb5da3b76ef3cd2d15 (patch)
tree9658790d1e4947b1b6f7fe9708c7764491ca233d /sci-libs/spglib
parentmedia-sound/xmms2: install uncompressed manpages (diff)
downloadgentoo-184d26371cade2dc4a4913fb5da3b76ef3cd2d15.tar.gz
gentoo-184d26371cade2dc4a4913fb5da3b76ef3cd2d15.tar.bz2
gentoo-184d26371cade2dc4a4913fb5da3b76ef3cd2d15.zip
sci-libs/spglib: Add spglib, needed by Avogadro2
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs/spglib')
-rw-r--r--sci-libs/spglib/Manifest1
-rw-r--r--sci-libs/spglib/metadata.xml8
-rw-r--r--sci-libs/spglib/spglib-1.14.1.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/sci-libs/spglib/Manifest b/sci-libs/spglib/Manifest
new file mode 100644
index 000000000000..f948d5c7059b
--- /dev/null
+++ b/sci-libs/spglib/Manifest
@@ -0,0 +1 @@
+DIST spglib-1.14.1.tar.gz 1994323 BLAKE2B 69c16d4b1b7f23b652247df01f88d88917083bf4394e4a5e2e6636b49950ae3e06e395d117ba92ed4fc7c4295f61bab53cda25c2b7b3b7073bc888719ac2dee1 SHA512 77f65af957b1cc956bbd7ab555b5d62297b13228187c54cc4f6e48efba84b0fd60e57f79a4cf22a160a550ca0a19c5d71de0219fccd0b370d2ce413d41a5cfb0
diff --git a/sci-libs/spglib/metadata.xml b/sci-libs/spglib/metadata.xml
new file mode 100644
index 000000000000..d0522ae93c48
--- /dev/null
+++ b/sci-libs/spglib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-libs/spglib/spglib-1.14.1.ebuild b/sci-libs/spglib/spglib-1.14.1.ebuild
new file mode 100644
index 000000000000..3471996ebea3
--- /dev/null
+++ b/sci-libs/spglib/spglib-1.14.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Spglib is a C library for finding and handling crystal symmetries"
+HOMEPAGE="https://atztogo.github.io/spglib/"
+SRC_URI="https://github.com/atztogo/spglib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+BDEPEND=""
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -type f -delete || die
+}