/[gentoo-x86]/sci-libs/freesteam/freesteam-9999.ebuild
Gentoo

Contents of /sci-libs/freesteam/freesteam-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jan 6 14:46:21 2014 UTC (6 years, 4 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +10 -20 lines
sci-libs/freesteam: Punt base.eclass

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/freesteam/freesteam-9999.ebuild,v 1.1 2012/12/15 12:44:23 mgorny Exp $
4
5 EAPI=5
6
7 inherit eutils multilib scons-utils toolchain-funcs subversion
8
9 DESCRIPTION="Open source implementation of IF97 steam tables"
10 HOMEPAGE="http://freesteam.sourceforge.net/"
11 SRC_URI=""
12 ESVN_REPO_URI=https://freesteam.svn.sourceforge.net/svnroot/freesteam/trunk
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS=""
17 IUSE=""
18
19 RDEPEND="sci-libs/gsl"
20 DEPEND="${RDEPEND}"
21
22 src_prepare() {
23 epatch \
24 "${FILESDIR}"/${PN}-flags.patch
25 "${FILESDIR}"/${PN}-soname-symlinks.patch
26 epatch_user
27 }
28
29 src_configure() {
30 myesconsargs=(
31 INSTALL_PREFIX=/usr
32 INSTALL_LIB=/usr/$(get_libdir)
33 INSTALL_ROOT="${D}"
34
35 CC="$(tc-getCC)"
36 SWIG=false
37 )
38
39 mkdir -p "${D}" || die
40 }
41
42 src_compile() {
43 escons
44 }
45
46 src_install() {
47 escons install
48 }

  ViewVC Help
Powered by ViewVC 1.1.20