You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/kim-api/kim-api-1.8.2.ebuild

33 lines
642 B

# 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
}