Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166057 Details for
Bug 238353
sci-physics/avl-3.27 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed ebuild
avl-3.27.ebuild (text/plain), 1.71 KB, created by
Christian Haag
on 2008-09-22 03:18:15 UTC
(
hide
)
Description:
Proposed ebuild
Filename:
MIME Type:
Creator:
Christian Haag
Created:
2008-09-22 03:18:15 UTC
Size:
1.71 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >inherit toolchain-funcs fortran > >RESTRICT="nomirror" > >DESCRIPTION="A program for the aerodynamic and flight-dynamic analysis of rigid aircraft of arbitrary configuration" >HOMEPAGE="http://web.mit.edu/drela/Public/web/avl/" >SRC_URI="http://web.mit.edu/drela/Public/web/${PN}/${PN}${PV}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~ppc" > >DEPEND="x11-libs/libX11" > >RESTRICT="test" > >S="${WORKDIR}/Avl" > >FORTRAN="gfortran ifc g77" > >src_unpack() { > unpack ${A} > cd "${S}" > > sed -e 's/-O3//g' -i plotlib/config.make.DP || die "sed plotlib/config.make failed" > echo "CC = $(tc-getCC)" >> plotlib/config.make.DP > echo "FC = ${FORTRANC}" >> plotlib/config.make.DP > cp plotlib/config.make.DP plotlib/config.make > > sed -i \ > -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" \ > bin/Makefile eispack/Makefile \ > || die "sed for flags and compilers failed" > > if [ ${FORTRANC} = "gfortran" ]; then > sed -i -e "s/^\(SECOND.*\)/SECOND = second_g77.f/g" bin/Makefile > elif [ ${FORTRANC} = "ifc" ]; then > sed -i -e "s/^\(SECOND.*\)/SECOND = second_ifc.f/g" bin/Makefile > fi > >} > >src_compile() { > cd "${S}"/plotlib > emake DP="" || die "failed to build plotlib" > cd "${S}"/eispack > emake DP="" || die "failed to build eispack" > cd "${S}"/bin > for i in avl; do > emake CFLAGS="${CFLAGS} -DUNDERSCORE" ${i} || die "failed to build ${i}" > done >} > >src_install() { > dobin bin/avl || die "dobin failed" > dodoc *.txt README || die "dodoc failed" > insinto /usr/share/doc/${PF}/ >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 238353
: 166057