aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Borm (boroli) <oli.borm@web.de>2009-08-03 20:42:37 +0200
committerOliver Borm (boroli) <oli.borm@web.de>2009-08-03 20:42:37 +0200
commit067eee6c68e2497a4bce47291a89214d18cbf8ab (patch)
tree3ab385519ce5a1deb1c2ad852e280c0bfc0c09a2
parentsci-libs/libcgnsoo: Initial import to science overlay (diff)
downloadsci-067eee6c68e2497a4bce47291a89214d18cbf8ab.tar.gz
sci-067eee6c68e2497a4bce47291a89214d18cbf8ab.tar.bz2
sci-067eee6c68e2497a4bce47291a89214d18cbf8ab.zip
sci-libs/cgnsfoam: Initial import to science overlay
-rw-r--r--sci-libs/cgnsfoam/ChangeLog7
-rw-r--r--sci-libs/cgnsfoam/Manifest5
-rw-r--r--sci-libs/cgnsfoam/cgnsfoam-2009.08.03.ebuild41
-rw-r--r--sci-libs/cgnsfoam/files/cgnsfoam-compile.patch51
-rw-r--r--sci-libs/cgnsfoam/metadata.xml5
-rw-r--r--sci-libs/med/med-2.3.1.ebuild3
6 files changed, 111 insertions, 1 deletions
diff --git a/sci-libs/cgnsfoam/ChangeLog b/sci-libs/cgnsfoam/ChangeLog
new file mode 100644
index 000000000..71cb75b55
--- /dev/null
+++ b/sci-libs/cgnsfoam/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sci-libs/cgnsfoam
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 03 Aug 2009; Oliver Borm (boroli) <oli.borm@web.de> ChangeLog:
+ Initial import to science overlay
+
diff --git a/sci-libs/cgnsfoam/Manifest b/sci-libs/cgnsfoam/Manifest
new file mode 100644
index 000000000..244bc865b
--- /dev/null
+++ b/sci-libs/cgnsfoam/Manifest
@@ -0,0 +1,5 @@
+AUX cgnsfoam-compile.patch 2397 RMD160 3986d139f6e369d1aa540b1cb2edbad15c29936e SHA1 13edfd811fb4346ee6b3eb4cdd19a1340180aef1 SHA256 1571862813215bf2bc6c05999b96c6918b4c2c23c34b01808a1728debaa3f777
+DIST cgnsfoam_2009.08.03.orig.tar.gz 48133 RMD160 1d45773a7f0353fa5cbccd3a4701d71ea1c2f57d SHA1 75fcd956b19f2f0f140a65ee6faf206cf2a4f26a SHA256 b61aebf510ec8e12a0814af2908ec92c6985b38e6b425304c9636bc7abd43b7f
+EBUILD cgnsfoam-2009.08.03.ebuild 862 RMD160 311601142fe5de2c44d0096e0fe636e992ef0454 SHA1 63e816d0f752dabaefbc18bf0d92f582fed9ba4f SHA256 f72982594924ccdffc97f9929eb3fa193c491332abbf0da696b41b4ea73decd2
+MISC ChangeLog 220 RMD160 2172460bb66881df4b51633f9ea3791891ef19ea SHA1 22daf628a8f9c36f5faaced84e9c3aadd560fe2c SHA256 067075e163d321bb5151a0d4365ff054275f9065c1973d4c7e2ed83e0388ed6e
+MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
diff --git a/sci-libs/cgnsfoam/cgnsfoam-2009.08.03.ebuild b/sci-libs/cgnsfoam/cgnsfoam-2009.08.03.ebuild
new file mode 100644
index 000000000..41c93da38
--- /dev/null
+++ b/sci-libs/cgnsfoam/cgnsfoam-2009.08.03.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils multilib
+
+DESCRIPTION="cgnsfoam is a conversion tool from cgns to openfoam format"
+HOMEPAGE="http://openfoam-extend.sourceforge.net"
+SRC_URI="http://ppa.launchpad.net/cae-team/ppa/ubuntu/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+OF_PV="1.5"
+
+DEPEND="sci-libs/cgnslib
+ sci-libs/libcgnsoo
+ =sci-libs/openfoam-src-${OF_PV}*"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${PN}"-compile.patch
+}
+
+src_compile() {
+ source /usr/$(get_libdir)/OpenFOAM/OpenFOAM-${OF_PV}/etc/bashrc
+ export FOAM_USER_APPBIN=${S}/bin/
+ sh Allwmake
+}
+
+src_install() {
+ into "/usr/$(get_libdir)/OpenFOAM/OpenFOAM-${OF_PV}/applications"
+ dobin bin/*
+}
diff --git a/sci-libs/cgnsfoam/files/cgnsfoam-compile.patch b/sci-libs/cgnsfoam/files/cgnsfoam-compile.patch
new file mode 100644
index 000000000..57d6289ea
--- /dev/null
+++ b/sci-libs/cgnsfoam/files/cgnsfoam-compile.patch
@@ -0,0 +1,51 @@
+diff -urN cgnsfoam.orig/utilities/mesh/conversion/cgnsToFoam/Make/options cgnsfoam/utilities/mesh/conversion/cgnsToFoam/Make/options
+--- cgnsfoam.orig/utilities/mesh/conversion/cgnsToFoam/Make/options 2009-02-19 13:18:42.000000000 +0100
++++ cgnsfoam/utilities/mesh/conversion/cgnsToFoam/Make/options 2009-02-19 16:13:36.000000000 +0100
+@@ -17,8 +17,11 @@
+ // Eventually, those packages will get integrated to the main OpenFOAM version
+ // In the meantime, we hardcode those values, using relative paths to $PWD.
+
+-LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS)
+-CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS)
++//LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS)
++//CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS)
++
++LIBCGNSOOHOME=/usr
++CGNSLIBHOME=/usr
+
+ LINKEXE+=-Wl,-rpath=$(LIBCGNSOOHOME)/lib
+
+@@ -32,6 +35,6 @@
+ EXE_LIBS = \
+ -L$(WM_PROJECT_USER_DIR)/lib/$(WM_OPTIONS) -lOpenFOAM -lfiniteVolume\
+ -L$(LIBCGNSOOHOME)/lib -lcgnsoo3 \
+- -L$(CGNSLIBHOME)/lib -lcgns_2.5 \
++ -L$(CGNSLIBHOME)/lib -lcgns \
+ -lmeshTools \
+ -ldynamicMesh
+diff -urN cgnsfoam.orig/utilities/postProcessing/dataConversion/foamToCGNS/Make/options cgnsfoam/utilities/postProcessing/dataConversion/foamToCGNS/Make/options
+--- cgnsfoam.orig/utilities/postProcessing/dataConversion/foamToCGNS/Make/options 2009-02-19 13:18:42.000000000 +0100
++++ cgnsfoam/utilities/postProcessing/dataConversion/foamToCGNS/Make/options 2009-02-19 16:13:33.000000000 +0100
+@@ -6,8 +6,11 @@
+ // Eventually, those packages will get integrated to the main OpenFOAM version
+ // In the meantime, we hardcode those values, using relative paths to $PWD.
+
+-LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS)
+-CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS)
++// LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS)
++// CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS)
++
++LIBCGNSOOHOME=/usr
++CGNSLIBHOME=/usr
+
+ LINKEXE+=-Wl,-rpath=$(LIBCGNSOOHOME)/lib
+
+@@ -25,7 +28,7 @@
+ EXE_LIBS = \
+ -lOpenFOAM \
+ -L$(LIBCGNSOOHOME)/lib -lcgnsoo3 \
+- -L$(CGNSLIBHOME)/lib -lcgns_2.5 \
++ -L$(CGNSLIBHOME)/lib -lcgns \
+ -lincompressibleRASModels \
+ -lincompressibleTransportModels \
+ -lfiniteVolume
diff --git a/sci-libs/cgnsfoam/metadata.xml b/sci-libs/cgnsfoam/metadata.xml
new file mode 100644
index 000000000..b229aec85
--- /dev/null
+++ b/sci-libs/cgnsfoam/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-libs/med/med-2.3.1.ebuild b/sci-libs/med/med-2.3.1.ebuild
index edc5200a6..03ea2fd9e 100644
--- a/sci-libs/med/med-2.3.1.ebuild
+++ b/sci-libs/med/med-2.3.1.ebuild
@@ -6,7 +6,8 @@ inherit eutils
DESCRIPTION="Modeling and Exchange of Data library"
HOMEPAGE="http://www.code-aster.org/outils/med/"
-SRC_URI="http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/${P}.tar.gz"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${P}.tar.gz"
+# SRC_URI="http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"