summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-15 12:44:23 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-15 12:44:23 +0000
commit9643785b57add36e4676e71244711adc441e61eb (patch)
treeebfdc6a7a4afe85ee6a7698124503d24400751f9 /sci-libs
parentImport the live ebuild. (diff)
downloadgentoo-2-9643785b57add36e4676e71244711adc441e61eb.tar.gz
gentoo-2-9643785b57add36e4676e71244711adc441e61eb.tar.bz2
gentoo-2-9643785b57add36e4676e71244711adc441e61eb.zip
Import the live ebuild.
(Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/freesteam/ChangeLog10
-rw-r--r--sci-libs/freesteam/freesteam-9999.ebuild58
2 files changed, 65 insertions, 3 deletions
diff --git a/sci-libs/freesteam/ChangeLog b/sci-libs/freesteam/ChangeLog
index 1c75a12dcc57..be679c2a0347 100644
--- a/sci-libs/freesteam/ChangeLog
+++ b/sci-libs/freesteam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/freesteam
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/freesteam/ChangeLog,v 1.1 2011/11/26 22:55:43 mgorny Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/freesteam/ChangeLog,v 1.2 2012/12/15 12:44:23 mgorny Exp $
+
+*freesteam-9999 (15 Dec 2012)
+
+ 15 Dec 2012; Michał Górny <mgorny@gentoo.org> +freesteam-9999.ebuild:
+ Import the live ebuild.
*freesteam-2.0 (26 Nov 2011)
@@ -9,4 +14,3 @@
+metadata.xml:
Introduce the initial ebuild for freesteam, free IF97 steam tables
implementation.
-
diff --git a/sci-libs/freesteam/freesteam-9999.ebuild b/sci-libs/freesteam/freesteam-9999.ebuild
new file mode 100644
index 000000000000..7e8c92250f8f
--- /dev/null
+++ b/sci-libs/freesteam/freesteam-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/freesteam/freesteam-9999.ebuild,v 1.1 2012/12/15 12:44:23 mgorny Exp $
+
+EAPI=4
+
+inherit base multilib scons-utils toolchain-funcs
+
+#if LIVE
+ESVN_REPO_URI=https://freesteam.svn.sourceforge.net/svnroot/freesteam/trunk
+inherit subversion
+#endif
+
+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}"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+#endif
+
+src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-flags.patch
+ )
+
+ base_src_prepare
+}
+
+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
+}