Package-Manager: Portage-2.3.6, Repoman-2.3.1
--- /dev/null
+DIST kim-api-v1.8.2.tgz 1634997 SHA256 26bf3bf6960290797c0be7a3435b6350e572f7e07ad87e743e5a9c04e074386d SHA512 fed930d147bfbb7936548eb129fcc403df90d1a8010f0fd5b85eaa35c1529d76c9c7c10b098b8eb74d9878e6d3ba0fad3c10d2a3e5bc9b673841a2abc290bac3 WHIRLPOOL cafdff25be9e7186184dbd45f57033542e38e88c9bc62d2a10557924d5bd8763ed92bc63a507f6ed0185174e1747c60ec567dd09899bad315d74fa6b7400c5f2
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-v${PV}"
+DESCRIPTION="Application Programming Interface for atomistic simulations"
+HOMEPAGE="https://openkim.org"
+SRC_URI="https://s3.openkim.org/${PN}/${MY_P}.tgz"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+ #https://github.com/openkim/kim-api/pull/2
+ sed -i 's/libDir/libdir/' configure
+ default
+}
+
+src_configure() {
+ #not an Autotools configure
+ ./configure --prefix=/usr --libdir=/usr/$(get_libdir) || die
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>