summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2017-07-16 19:26:02 -0600
committerChristoph Junghans <junghans@gentoo.org>2017-07-16 19:26:28 -0600
commitee47ca662f9f8b933c076629869d95b2b490f931 (patch)
treefc8653533b5ac284fe73c6c310c65beff409e450 /sci-libs/kim-api/kim-api-1.8.2.ebuild
parentprofiles/package.mask: remove net-nds/openldap mask (diff)
downloadgentoo-ee47ca662f9f8b933c076629869d95b2b490f931.tar.gz
gentoo-ee47ca662f9f8b933c076629869d95b2b490f931.tar.bz2
gentoo-ee47ca662f9f8b933c076629869d95b2b490f931.zip
sci-libs/kim-api: initial commit
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'sci-libs/kim-api/kim-api-1.8.2.ebuild')
-rw-r--r--sci-libs/kim-api/kim-api-1.8.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-libs/kim-api/kim-api-1.8.2.ebuild b/sci-libs/kim-api/kim-api-1.8.2.ebuild
new file mode 100644
index 000000000000..b15535489e2c
--- /dev/null
+++ b/sci-libs/kim-api/kim-api-1.8.2.ebuild
@@ -0,0 +1,32 @@
+# 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
+}