diff options
author | Luis Medinas <metalgod@gentoo.org> | 2006-07-02 23:22:00 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2006-07-02 23:22:00 +0000 |
commit | 417ac258a05dab58ae8030141602135983a4d4d0 (patch) | |
tree | c6f1b9034a442c82a70b2bbd6b124885374fe8a6 /sci-physics | |
parent | Stable on ppc; bug #137088. (diff) | |
download | gentoo-2-417ac258a05dab58ae8030141602135983a4d4d0.tar.gz gentoo-2-417ac258a05dab58ae8030141602135983a4d4d0.tar.bz2 gentoo-2-417ac258a05dab58ae8030141602135983a4d4d0.zip |
Moved from sci-misc/xfoil to sci-physics/xfoil.
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/xfoil/ChangeLog | 42 | ||||
-rw-r--r-- | sci-physics/xfoil/Manifest | 12 | ||||
-rw-r--r-- | sci-physics/xfoil/files/digest-xfoil-6.94-r1 | 3 | ||||
-rw-r--r-- | sci-physics/xfoil/metadata.xml | 8 | ||||
-rw-r--r-- | sci-physics/xfoil/xfoil-6.94-r1.ebuild | 66 |
5 files changed, 131 insertions, 0 deletions
diff --git a/sci-physics/xfoil/ChangeLog b/sci-physics/xfoil/ChangeLog new file mode 100644 index 000000000000..c813fc99c419 --- /dev/null +++ b/sci-physics/xfoil/ChangeLog @@ -0,0 +1,42 @@ +# ChangeLog for sci-misc/xfoil +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/xfoil/ChangeLog,v 1.1 2006/07/02 23:22:00 metalgod Exp $ + + 02 Jul 2006; Luis Medinas <metalgod@gentoo.org> +metadata.xml, + +xfoil-6.94-r1.ebuild: + Moved from sci-misc/xfoil to sci-physics/xfoil. + + 29 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> xfoil-6.94-r1.ebuild: + Modular-X fixes. + + 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -xfoil-6.94.ebuild, + xfoil-6.94-r1.ebuild: + Fixed typo. Removed obsolete version. + + 06 May 2005; David Holm <dholm@gentoo.org> xfoil-6.94-r1.ebuild: + Added to ~ppc. + + 02 Feb 2005; Danny van Dyk <kugelfang@gentoo.org> xfoil-6.94-r1.ebuild, + xfoil-6.94.ebuild: + Changed to use eclasses "toolchain-funcs" and "fortran" instead of "gcc". + +*xfoil-6.94-r1 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +xfoil-6.94-r1.ebuild, +xfoil-6.94.ebuild: + Moved from app-sci/xfoil to sci-misc/xfoil. + + 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; xfoil-6.94-r1.ebuild, + xfoil-6.94.ebuild: + Change x11-base/xfree dependency to virtual/x11. + +*xfoil-6.94-r1 (03 Feb 2004) + + 03 Feb 2004; George Shapovalov <george@gentoo.org> xfoil-6.94-r1.ebuild : + adjusted ebuild for the new blas virtuals, masked for now (until blas reorg is complete) + +*xfoil-6.94 (03 Dec 2003) + + 03 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> xfoil-6.94.ebuild: + initial ebuild by robbat2@gentoo.org + diff --git a/sci-physics/xfoil/Manifest b/sci-physics/xfoil/Manifest new file mode 100644 index 000000000000..caa0a1928181 --- /dev/null +++ b/sci-physics/xfoil/Manifest @@ -0,0 +1,12 @@ +MD5 e40a1b9c7ce774e8b56483ddd914fc63 ChangeLog 1369 +RMD160 00cf008bd0d01308da8dc9ffd696167c857f3b31 ChangeLog 1369 +SHA256 8ba469c987a797a6b276ba75dd6c7c97c0e613e9126aafa5d6e9b49c87a2fe9f ChangeLog 1369 +MD5 bd6eb26fc81bfc9a42aa998d36043598 files/digest-xfoil-6.94-r1 175 +RMD160 c2ad4beea37697cda42a57d50c7d5cea47032012 files/digest-xfoil-6.94-r1 175 +SHA256 afb7bcfb3688661f1b05cd5244da8069cc862c8f69d1d55ba00b84326ae9123e files/digest-xfoil-6.94-r1 175 +MD5 f9b985eff5cf629c334273be8fbdee5c metadata.xml 219 +RMD160 2c399ebc308a23e3792cc20101a26abfb3aed12c metadata.xml 219 +SHA256 7c0bb7961c49e6b1072283b927bb902eced652127d6a6d71bf7021369cc62a56 metadata.xml 219 +MD5 6520f289bdcf7ba39e390cc5c11d927b xfoil-6.94-r1.ebuild 1717 +RMD160 6cad018b92879e2840b404e0795d516589eb3340 xfoil-6.94-r1.ebuild 1717 +SHA256 2fed75f0553749cc475d6337ef060084af0cc1cf8944d1958e40b02d48cc8f5e xfoil-6.94-r1.ebuild 1717 diff --git a/sci-physics/xfoil/files/digest-xfoil-6.94-r1 b/sci-physics/xfoil/files/digest-xfoil-6.94-r1 new file mode 100644 index 000000000000..1b884e2be6b0 --- /dev/null +++ b/sci-physics/xfoil/files/digest-xfoil-6.94-r1 @@ -0,0 +1,3 @@ +MD5 79e1d6bdb445d0e3ba60338e56e3e420 xfoil694.tar.gz 435936 +MD5 6a3cbfcc2dd6943317d6590a57dcd77f xfoil_doc.ps 304400 +MD5 ffdcc3ad6cf4466dd40c7753b0806177 xfoil_doc.pdf 311472 diff --git a/sci-physics/xfoil/metadata.xml b/sci-physics/xfoil/metadata.xml new file mode 100644 index 000000000000..2ba90ab6f5c5 --- /dev/null +++ b/sci-physics/xfoil/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-physics/xfoil/xfoil-6.94-r1.ebuild b/sci-physics/xfoil/xfoil-6.94-r1.ebuild new file mode 100644 index 000000000000..1c8f25c9bbe0 --- /dev/null +++ b/sci-physics/xfoil/xfoil-6.94-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/xfoil/xfoil-6.94-r1.ebuild,v 1.1 2006/07/02 23:22:00 metalgod Exp $ + +inherit toolchain-funcs fortran + +MY_PN="${PN}" +MY_PV="${PV/./}" +MY_P="${MY_PN}${MY_PV}" + +DESCRIPTION="Design and analysis of subsonic isolated airfoils" +HOMEPAGE="http://raphael.mit.edu/xfoil/" +SRC_URI="http://raphael.mit.edu/xfoil/${MY_P}.tar.gz + doc? ( http://raphael.mit.edu/xfoil/xfoil_doc.ps + http://raphael.mit.edu/xfoil/xfoil_doc.pdf )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="doc" + +DEPEND="virtual/blas + sci-libs/blas-config + || ( x11-libs/libX11 virtual/x11 )" + +S=${WORKDIR}/XFOIL${MY_PV} + +src_unpack() { + unpack ${A} + cd ${S} + + [ -z "${FFLAGS}" ] && FFLAGS="${CFLAGS}" + + # As defined in toolchain-funcs.eclass + echo "CC = $(tc-getCC)" >>plotlib/config.make + + # As defined in fortran.eclass + echo "FC = ${FORTRANC}" >>plotlib/config.make + + echo "CFLAGS += ${CFLAGS}" >>plotlib/config.make + echo "FFLAGS += ${FFLAGS}" >>plotlib/config.make + + sed -i bin/Makefile \ + -e "s/^\(FC.*\)/FC = ${FORTRANC}/g" \ + -e "s/^\(CC.*\)/CC = $(tc-getCC)/g" \ + -e "s/^\(FFLAGS .*\)/FFLAGS = ${FFLAGS}/g" \ + -e "s/^\(FFLOPT .*\)/FFLOPT = \$(FFLAGS)/g" \ + -e "s/^\(FFLAGS2 .*\)/FFLAGS2 = \$(FFLAGS)/g" +} + +src_compile() { + cd ${S}/plotlib + emake || die "failed to build plotlib" + cd ${S}/bin + for i in xfoil pplot pxplot; do + emake ${i} || die "failed to build ${i}" + done +} + +src_install() { + dobin bin/pplot bin/pxplot bin/xfoil + dodoc version_notes.txt xfoil_doc.txt sessions.txt README + use doc && dodoc ${DISTDIR}/xfoil_doc.ps ${DISTDIR}/xfoil_doc.pdf + docinto runs + dodoc runs/* +} |