diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 05:36:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 05:36:07 +0000 |
commit | 6104a65e205373fa6af210e7feee8ec0902049c4 (patch) | |
tree | d0a408721cfed96954fd2225dda4d5a4a7a1ac1b /sci-physics/xfoil/xfoil-6.97.ebuild | |
parent | Version bump. Now use cmake, rewritten from scratch and respect upstream options (diff) | |
download | gentoo-2-6104a65e205373fa6af210e7feee8ec0902049c4.tar.gz gentoo-2-6104a65e205373fa6af210e7feee8ec0902049c4.tar.bz2 gentoo-2-6104a65e205373fa6af210e7feee8ec0902049c4.zip |
Keyword amd64-linux, x86-linux
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/xfoil/xfoil-6.97.ebuild')
-rw-r--r-- | sci-physics/xfoil/xfoil-6.97.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sci-physics/xfoil/xfoil-6.97.ebuild b/sci-physics/xfoil/xfoil-6.97.ebuild index 5bf398c51d49..4f250a3939a7 100644 --- a/sci-physics/xfoil/xfoil-6.97.ebuild +++ b/sci-physics/xfoil/xfoil-6.97.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/xfoil/xfoil-6.97.ebuild,v 1.8 2011/06/21 14:31:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/xfoil/xfoil-6.97.ebuild,v 1.9 2012/08/08 05:36:07 bicatali Exp $ -EAPI=3 +EAPI=4 inherit eutils fortran-2 DESCRIPTION="Design and analysis of subsonic isolated airfoils" @@ -12,7 +12,7 @@ SRC_URI="http://web.mit.edu/drela/Public/web/${PN}/${PN}${PV}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc x86" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" IUSE="doc examples" RDEPEND=" @@ -44,27 +44,27 @@ src_prepare() { src_compile() { export FC="$(tc-getFC)" F77="$(tc-getF77)" cd "${S}"/orrs/bin - emake FLG="${FFLAGS}" FTNLIB="${LDFLAGS}" OS || die "failed to build orrs" + emake FLG="${FFLAGS}" FTNLIB="${LDFLAGS}" OS cd "${S}"/orrs bin/osgen osmaps_ns.lst cd "${S}"/plotlib - emake CFLAGS="${CFLAGS} -DUNDERSCORE" || die "failed to build plotlib" + emake CFLAGS="${CFLAGS} -DUNDERSCORE" cd "${S}"/bin for i in xfoil pplot pxplot; do emake \ PLTOBJ="../plotlib/libPlt.a" \ CFLAGS="${CFLAGS} -DUNDERSCORE" \ FTNLIB="${LDFLAGS}" \ - ${i} || die "failed to build ${i}" + ${i} done } src_install() { - dobin bin/pplot bin/pxplot bin/xfoil || die "dobin failed" + dobin bin/pplot bin/pxplot bin/xfoil insinto /usr/share/xfoil/orrs - doins orrs/osm*.dat || die "orrs data install failed" - dodoc *.txt README || die "dodoc failed" + doins orrs/osm*.dat + dodoc *.txt README insinto /usr/share/doc/${PF}/ - use examples && { doins -r runs || die "examples install failed"; } + use examples && doins -r runs use doc && dodoc "${DISTDIR}"/dataflow.pdf } |