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/freesteam/freesteam-2.0.ebuild

48 lines
900 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/freesteam/freesteam-2.0.ebuild,v 1.2 2014/01/06 14:46:21 jlec Exp $
EAPI=5
inherit eutils multilib scons-utils toolchain-funcs
DESCRIPTION="Open source implementation of IF97 steam tables"
HOMEPAGE="http://freesteam.sourceforge.net/"
SRC_URI="mirror://sourceforge/freesteam/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sci-libs/gsl"
DEPEND="${RDEPEND}"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-flags.patch
"${FILESDIR}"/${PN}-soname-symlinks.patch
epatch_user
}
src_configure() {
myesconsargs=(
INSTALL_PREFIX=/usr
INSTALL_LIB=/usr/$(get_libdir)
INSTALL_ROOT="${D}"
CC="$(tc-getCC)"
SWIG=false
)
mkdir -p "${D}" || die
}
src_compile() {
escons
}
src_install() {
escons install
}