diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-11-01 05:17:17 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-11-01 05:17:17 +0000 |
commit | 2a6b80a843a21e637d53d206a4cb81d4849c0ba4 (patch) | |
tree | f361b4d39488f95714931998bc24c9187385caae /sci-libs | |
parent | New package. (diff) | |
download | historical-2a6b80a843a21e637d53d206a4cb81d4849c0ba4.tar.gz historical-2a6b80a843a21e637d53d206a4cb81d4849c0ba4.tar.bz2 historical-2a6b80a843a21e637d53d206a4cb81d4849c0ba4.zip |
Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/openfoam/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/openfoam/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/openfoam/openfoam-2.2.2.ebuild | 116 |
3 files changed, 125 insertions, 2 deletions
diff --git a/sci-libs/openfoam/ChangeLog b/sci-libs/openfoam/ChangeLog index 966d4069da93..4cead9dce7cb 100644 --- a/sci-libs/openfoam/ChangeLog +++ b/sci-libs/openfoam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/openfoam # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/ChangeLog,v 1.16 2013/07/29 08:10:39 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/ChangeLog,v 1.17 2013/11/01 05:17:08 patrick Exp $ + +*openfoam-2.2.2 (01 Nov 2013) + + 01 Nov 2013; Patrick Lauer <patrick@gentoo.org> +openfoam-2.2.2.ebuild: + Bump *openfoam-2.2.1 (29 Jul 2013) diff --git a/sci-libs/openfoam/Manifest b/sci-libs/openfoam/Manifest index b92ce5dc4bce..707410de47e7 100644 --- a/sci-libs/openfoam/Manifest +++ b/sci-libs/openfoam/Manifest @@ -3,11 +3,13 @@ DIST OpenFOAM-2.1.0.tgz 32518358 SHA256 d8467b38c06b6f030b78c44cb3a1dec819432f6c DIST OpenFOAM-2.1.1.tgz 30709473 SHA256 b085980c507de4e00339335c3de2d0bdae1b31372320d62baae7ff8a98da64bc SHA512 91a76d3cc84fff0c03b137a9429807a525b871d90177e4e396014a8434dfeeea7b00350a05fdd7d19bfbcc0b8f2dbe73a541c92bc58cf6cef410dcb7f64995ad WHIRLPOOL cfc79835406739fc3b56a513d79d8e1391506602e4258ce21bddece09bc912bc7b51012fdb68125322b29817d5573096b7016f0c80b02b183583a480c6b77164 DIST OpenFOAM-2.2.0.tgz 31450102 SHA256 9a38531acf8af4b3626015281e6736b9a31c9be6702bcb2584c078b23432eb2f SHA512 b748873a9dc27d462a9f65cadce7a667b58541176c99320372a946a3a61ccb0d13c7a1b00fa02c258ca74946852ba94d217f6115f3616484e9c4e39c9bcdf6b0 WHIRLPOOL c4e250d6efd24d4dd1bedca61b39a7e0e02f18d2aab152750623ee808861949a9df921442ce3da9e501fe65ff851c5b32dea58df85c4f0797cc378b427f069e3 DIST OpenFOAM-2.2.1.tgz 37600247 SHA256 92ad3d88470db22799e07ae247aa85da92dabcb7995a17a178f791a7098fa2bb SHA512 1b3afab700ca6e8b328ec76b5d862e67696ad6c622bc1d3a26c3cc87d6ad62f752be72cc0644510b63612fd1441e7a2969e3b53728d30f2a67a2453530fcd286 WHIRLPOOL 4f6a16470be52f7ee442b2e8d37b8b86d8e70b1da326011b9952272f3c754f91894693c1edfe8623b23e6cd20cb7ca905a96ba432b963b082b4f7dad3faf54f9 +DIST OpenFOAM-2.2.2.tgz 32536146 SHA256 097adf813e035d04c9be19ee244632cd76971fde107682d50983f8d5cdcf0210 SHA512 c57128b4a3fea0419118963a0e65dcecb532cb36713a03c3beef027e57f5a48c6839f35286eb9163cceb9e278bef6135bca7ca53990c2dbe4544fb26e82098d0 WHIRLPOOL bf350b8bbaa80240865b5d704c6d0fe351e8751321168a4115ae0590e0a0c471b0bbcc4edcd48b7ad40403f9122ed441b0cef41096d39e2aee7e23eb1bb8e94e EBUILD openfoam-1.7.1.ebuild 2709 SHA256 d8617da2590e1857bbbd808f303659df071801af8e158f0b0fd2029df78ef30f SHA512 8d0976ad32df83aa8b67f5f5d3b86e62beb71f27539a02bd548c5d99a865800506edf142c5bcea06765d26f820bf2f286fc87a6faf4ca87aca305b2ae8236521 WHIRLPOOL 9869c07920547adbf70de4d32b54bc70aaec90a20cac12089242a8c24cfedd123a3afc51c93ace2dd1159856d02139c7c82ebfe7e42be7ce84312de48e44b837 EBUILD openfoam-2.1.0.ebuild 2803 SHA256 5c7c5136395aaccf9eca0235c0855e86444e0203d491d3dfe38583df5e612873 SHA512 2a1e8ce8b36d15e5330af0379d9cad4104524635620337b0bdb4721e2c3ced55dbf525ccbb944a46d317a6d8837ab90c281841a602227445a4b62339d1f07f81 WHIRLPOOL 66db5b5dc7c16d3980d5f23c9694c97cfc9894f98f7a7844efba5d76da9e66366c9a5660c03971b41d86d45049eaa7fe65ac61878a3f6a4a090d8da8b62692ca EBUILD openfoam-2.1.1-r1.ebuild 2774 SHA256 aebac0852302ea742a1a3d7a3ab424988950767a08c4c8aad89d7a123d15fc7a SHA512 859d6b77dae8db5cac975019bc7dd343a7b3bea645d4c7d39b714217dd367c95893a1132feab89d0b00efa0a88ed8cbfeba93435c18cbe35344f7522926ad303 WHIRLPOOL 5f275fbbf1608ff23ac19db9d5ad291e402f02e7c1fe21f83301129318d3fbdf7bd1578b39de1d7bdb5945af4e456e58ad316b345d8a6d2d4eba50c9942f28d6 EBUILD openfoam-2.1.1.ebuild 2803 SHA256 1decba905c2cc85e7ec77d7018ad43029c9ead7e70af59a98b950c2149005cc4 SHA512 2e4bbfd002debda43b152e0388edfa565231be385daf926eea3174c448158992dca74fc0b980f7590f3a43d925bd94b908f556a80563f3abee17b2c8136c272e WHIRLPOOL 1bde478e77a70684841c737d32314e7429f722b1623e2c1d8ef09816fb0db3b662e0fc3ef06b63989b4aafe59838e0757ac9f7e9d3132b6ca08d13b69b935dc6 EBUILD openfoam-2.2.0.ebuild 2792 SHA256 78a03ed800ae1dbc994b5d57375ee94f05f3d7281d03a3884b2714061d1f7a30 SHA512 22ee2c325ada84cf43216f70ab7e16de4de870cd4e8c3004558dcc0356799b4ae79c9993efffc27178d893b1f7bde0d2cffe5992a9ae07226a2978e212a622f1 WHIRLPOOL 2ed70316a3ce649712334c4a840a4a8c68889b5e1fdb830437dd485a6170dc6a5208859793ff825fe640608260e6ca2b3cb2e06f238fb372900d1cfb283f932e EBUILD openfoam-2.2.1.ebuild 2988 SHA256 c557e210fd4818a93a281e5fa97511472fac16e73fc9983db64f56674711ed8c SHA512 38c9a436944eb9c8260cfda31c318592ca742cea3ec57709ed61b71b644d089b84066dd3cda7b5f77e7516d09a0f2ee415bb54b9a73f57d20a6cd6d54e10afc9 WHIRLPOOL 1940a9d2337e56b4c2e7177cc45964019edcb4a69846221cf68bd3cc59fc96cef1af5cb1412dc6f9c7ebe979fed393eaa49938840e37e20b39e8a0477bec9403 -MISC ChangeLog 6430 SHA256 16231e14555c1dbcb9cb76ed77e710ac0d281fabf3157e1d8f897eb98fe1c3a2 SHA512 ff5c3bf29b005a4c63bc87bbd502b1eddcfa7cd46e09079e8b50bfd2196b36dbd0567921970f2e3cdfed95294dfa6c8605686a5b1ecf27f0b2c56e6a033bbd45 WHIRLPOOL cb6d329a3f47fac9a7770aeaf69df8440cc08832735c7425972e659efabab6d062422c71e857313120d5bb4ecd5d27d295ab8f11bb8b0be5c32c50e2da141673 +EBUILD openfoam-2.2.2.ebuild 2988 SHA256 17341e41fa66381048ac4af471e805a2497aa0f06c4392017563732c9f4feacc SHA512 8146df1d5315de1801d1f38c1f141c05e2c0d3e631fe777206ed39ce01826be3ce4ed075082e74fc296dc8da43856c21c50b2586158b0ebdea19a4b36249f941 WHIRLPOOL badc9fe1fe9e6a12e23435ed57ffe8b2a0a0341343024a1463355917f77c672b377156e652e939b6b03f2b355eeca73138bcd56f674989bb73bd0c10ea3401a7 +MISC ChangeLog 6543 SHA256 5c2d4a0b2c1b453dbd3646a3650d79d8b989289a63307b812705c19faa5d67f7 SHA512 317593557ea451964abcce738160d7d40f2683b5716d3a8ba2690ad8a3607d95cc87240632736c24c69ae8bd20245803fc0ef5d85fd8c15b3d015278497800fa WHIRLPOOL 82a9e9cb896e9ed24aad90e36dd1e85832dbabd38539bfd44dd158f370df04cb7b2d094eed5f3cedf6c78c8774f0328ecaa531cbe821d6c19d455720b30bc25d MISC metadata.xml 481 SHA256 c4f987893d0c07d93fb70361db39c61116d15e972ebbc109b0f41d71eea9c83d SHA512 00a06be214eb232c9d642c3000bd18ce5338275627bd3843a64e970c544ec79e5e1c50cfe89cae2e29911241682d1d3d123aab83e632c63abdb0a26a7b2c064c WHIRLPOOL c58848afbc4f5384aeea1db4f086c5e8a5b0716800e8b59c6a0375430dae04fa600201484a0d1cf16e1adce06f16c13d89d817acbfe4faf6ad36fca0c88601ac diff --git a/sci-libs/openfoam/openfoam-2.2.2.ebuild b/sci-libs/openfoam/openfoam-2.2.2.ebuild new file mode 100644 index 000000000000..58cd59b84974 --- /dev/null +++ b/sci-libs/openfoam/openfoam-2.2.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam/openfoam-2.2.2.ebuild,v 1.1 2013/11/01 05:17:08 patrick Exp $ + +EAPI="5" + +inherit eutils versionator multilib toolchain-funcs + +MY_PN="OpenFOAM" +MY_PV=$(get_version_component_range 1-2) +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox" +HOMEPAGE="http://www.openfoam.org" +SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="2.2" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples opendx src" + +RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}* + !=sci-libs/openfoam-kernel-${MY_PV}* + !=sci-libs/openfoam-meta-${MY_PV}* + !=sci-libs/openfoam-solvers-${MY_PV}* + !=sci-libs/openfoam-utilities-${MY_PV}* + !=sci-libs/openfoam-wmake-${MY_PV}* + sci-libs/parmetis + sci-libs/parmgridgen + sci-libs/scotch + virtual/mpi + opendx? ( sci-visualization/opendx )" +DEPEND="${DEPEND} + doc? ( app-doc/doxygen[dot] )" + +S=${WORKDIR}/${MY_P} +INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}" + +pkg_setup() { + # just to be sure the right profile is selected (gcc-config) + if ! version_is_at_least 4.3 $(gcc-version) ; then + die "${PN} requires >=sys-devel/gcc-4.3 to compile." + fi + + elog + elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :" + elog + elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'" + elog + elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})" + ewarn + ewarn "FoamX is deprecated since ${MY_PN}-1.5! " + ewarn +} + +src_configure() { + if has_version sys-cluster/mpich2 ; then + export WM_MPLIB=MPICH + elif has_version sys-cluster/openmpi ; then + export WM_MPLIB=OPENMPI + else + die "You need one of the following mpi implementations: openmpi or mpich2" + fi + + sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc + sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc + + sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc + sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc +} + +src_compile() { + + WM_NCOMPPROCS=`echo $MAKEOPTS | sed 's/-j\([0-9][0-9]*\)/\1/'` + if [ -n "$WM_NCOMPPROCS" ] ; then + export WM_NCOMPPROCS + else + export WM_NCOMPPROCS=1 + fi + elog "Building on $WM_NCOMPPROCS cores" + + export FOAM_INST_DIR=${WORKDIR} + source etc/bashrc + + find wmake -name dirToString | xargs rm -rf + find wmake -name wmkdep | xargs rm -rf + + if use doc ; then + ./Allwmake doc || die "could not build" + else + ./Allwmake || die "could not build" + fi +} + +src_test() { + cd bin + ./foamInstallationTest +} + +src_install() { + insinto ${INSDIR} + doins -r etc + + use examples && doins -r tutorials + + use src && doins -r src + + insopts -m0755 + doins -r bin applications platforms wmake + + dodoc README.html doc/Guides-a4/*.pdf + + if use doc ; then + dohtml -r doc/Doxygen + fi +} |