summaryrefslogtreecommitdiff
blob: b15535489e2cc63d9e071648ce157ddea9910661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}