summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/freesteam
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/freesteam')
-rw-r--r--sci-libs/freesteam/Manifest1
-rw-r--r--sci-libs/freesteam/files/freesteam-flags.patch28
-rw-r--r--sci-libs/freesteam/files/freesteam-soname-symlinks.patch39
-rw-r--r--sci-libs/freesteam/freesteam-2.0.ebuild47
-rw-r--r--sci-libs/freesteam/freesteam-9999.ebuild48
-rw-r--r--sci-libs/freesteam/metadata.xml8
6 files changed, 171 insertions, 0 deletions
diff --git a/sci-libs/freesteam/Manifest b/sci-libs/freesteam/Manifest
new file mode 100644
index 000000000000..0195beb50917
--- /dev/null
+++ b/sci-libs/freesteam/Manifest
@@ -0,0 +1 @@
+DIST freesteam-2.0.tar.bz2 80838 SHA256 9c21768648ec4faffeb536fdcde039f3e02d9e413f85e19234c285c64808ffad SHA512 32c69a5b6665c62c566fb1c6e4b349ec820028a0a431532a39d0f8d07c2a474c1d41b166dff5e05087a94b58066084a0a369a5f3f6531df1021596c6252325f8 WHIRLPOOL 33781bc07e20572de53ad272dc7e5dbc159f9c80fc21845860cf738249167e6e0c03e6c0d8c3e6e9f20dd6cf95a2d246208af3e3895d10313e0bc31df5bb6537
diff --git a/sci-libs/freesteam/files/freesteam-flags.patch b/sci-libs/freesteam/files/freesteam-flags.patch
new file mode 100644
index 000000000000..615bdc050321
--- /dev/null
+++ b/sci-libs/freesteam/files/freesteam-flags.patch
@@ -0,0 +1,28 @@
+From 6a68348f4b1fb755724e1df34bff4d6986d07dab Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <gentoo@mgorny.alt.pl>
+Date: Sat, 26 Nov 2011 22:30:15 +0100
+Subject: [PATCH] Merge CFLAGS and LDFLAGS from the environment.
+
+---
+ SConstruct | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/SConstruct b/SConstruct
+index 9dc17f5..e529e88 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -194,6 +194,11 @@ SConsEnvironment.InstallLibraryAs = lambda env, dest, files: InstallPermAs(env,
+
+ vars.Update(env)
+
++# Merge environment CFLAGS & LDFLAGS
++
++env.MergeFlags([os.environ.get('CFLAGS', ''),
++ os.environ.get('LDFLAGS', '')])
++
+ #----------------
+ # SWIG
+
+--
+1.7.8.rc3.31.g017d.dirty
+
diff --git a/sci-libs/freesteam/files/freesteam-soname-symlinks.patch b/sci-libs/freesteam/files/freesteam-soname-symlinks.patch
new file mode 100644
index 000000000000..dbd8b2a64c26
--- /dev/null
+++ b/sci-libs/freesteam/files/freesteam-soname-symlinks.patch
@@ -0,0 +1,39 @@
+From dd03d6b29fd29f9978022291f0c023e4fe5dd345 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <gentoo@mgorny.alt.pl>
+Date: Sat, 26 Nov 2011 23:18:37 +0100
+Subject: [PATCH] Fix SONAME symlinks - make them relative.
+
+---
+ SConstruct | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/SConstruct b/SConstruct
+index 1794691..d84a13a 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -5,7 +5,7 @@
+ # We don't currently propose to support building freesteam from MSVS but
+ # that shouldn't be necessary, as you should be able to use the MinGW-generated
+ # DLL even with MSVS, because it only uses C code.
+-import platform, sys, distutils.sysconfig, os
++import platform, sys, distutils.sysconfig, os, os.path
+
+ #version number for this copy of freesteam
+ version = "2.1"
+@@ -436,11 +436,11 @@ else:
+
+ install_link1 = None
+ if env.subst(link1) != env.subst(libname):
+- install_link1 = env.Command("${INSTALL_ROOT}"+link1,install_lib,"ln -s %s $TARGET" % libname)
++ install_link1 = env.Command("${INSTALL_ROOT}"+link1,install_lib,"ln -s %s $TARGET" % os.path.basename(libname))
+
+ install_link2 = None
+ if env.get("SONAME_MINOR"):
+- install_link2 = env.Command("${INSTALL_ROOT}"+link2,install_lib,"ln -s %s $TARGET"%libname)
++ install_link2 = env.Command("${INSTALL_ROOT}"+link2,install_lib,"ln -s %s $TARGET"%os.path.basename(libname))
+
+ env['installedfiles'] += [install_link1, install_link2]
+
+--
+1.7.8.rc3.31.g017d.dirty
+
diff --git a/sci-libs/freesteam/freesteam-2.0.ebuild b/sci-libs/freesteam/freesteam-2.0.ebuild
new file mode 100644
index 000000000000..c70119b2dadb
--- /dev/null
+++ b/sci-libs/freesteam/freesteam-2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}
diff --git a/sci-libs/freesteam/freesteam-9999.ebuild b/sci-libs/freesteam/freesteam-9999.ebuild
new file mode 100644
index 000000000000..5df6f06edbc3
--- /dev/null
+++ b/sci-libs/freesteam/freesteam-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib scons-utils toolchain-funcs subversion
+
+DESCRIPTION="Open source implementation of IF97 steam tables"
+HOMEPAGE="http://freesteam.sourceforge.net/"
+SRC_URI=""
+ESVN_REPO_URI=https://freesteam.svn.sourceforge.net/svnroot/freesteam/trunk
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+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
+}
diff --git a/sci-libs/freesteam/metadata.xml b/sci-libs/freesteam/metadata.xml
new file mode 100644
index 000000000000..46720f594169
--- /dev/null
+++ b/sci-libs/freesteam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>