Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 93670 Details for
Bug 102199
Fortran 95 compiler - new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Version 0.9 ebuild
g95-0.9.ebuild (text/plain), 1.74 KB, created by
Richard Ash
on 2006-08-07 09:07:23 UTC
(
hide
)
Description:
Version 0.9 ebuild
Filename:
MIME Type:
Creator:
Richard Ash
Created:
2006-08-07 09:07:23 UTC
Size:
1.74 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Copyleft 2006 Honza Macháèek ># Distributed under the terms of the GNU General Public License v2 > >inherit eutils > >DESCRIPTION="Fortran 95 compiler" >HOMEPAGE="http://www.g95.org/" > >MY_DIST_VERSION="v${PV}" ># tarballs live in /v0.9/ etc >MY_PROG_VERSION="${PV}0" ># file names are 0.90 etc >MY_GCC_VERSION="4.1.1" >MY_GCC_MAJOR=${MY_GCC_VERSION%.*} >#the gcc we need to compile with > >SRC_URI="http://ftp.g95.org/${MY_DIST_VERSION}/g95_source.tgz > mirror://gnu/gcc/gcc-${MY_GCC_MAJOR}/gcc-${MY_GCC_VERSION}.tar.bz2" >LICENSE="GPL-2 ?" >SLOT="0" > ># Should work on x86, at least >KEYWORDS="~x86 ~amd64" >IUSE="" > >DEPEND="" > >src_unpack() { > pushd "${WORKDIR}" > unpack "gcc-${MY_GCC_VERSION}.tar.bz2" > unpack "g95_source.tgz" > cd "g95-${MY_PROG_VERSION}" > mv -f "libf95.a-${MY_PROG_VERSION}.tar.gz" "${DISTDIR}" > unpack "libf95.a-${MY_PROG_VERSION}.tar.gz" > epatch "${FILESDIR}/g95-${PV}-destdir.patch" >} > >src_compile() { > CFLAGS_SAVE=${CFLAGS}; CXXFLAGS_SAVE=${CXXFLAGS} > mkdir "${WORKDIR}/gcc-${MY_GCC_VERSION}/g95" > cd "${WORKDIR}/gcc-${MY_GCC_VERSION}/g95" > ln -s ../configure . > pwd > econf --prefix=/usr/local --enable-languages=c || die "configure gcc failed" > emake || die "emake gcc failed" > cd "g95-${MY_PROG_VERSION}" > econf --prefix=/usr/local --with-gcc-dir="${WORKDIR}/gcc-${MY_GCC_VERSION}" \ > || die "configure g95 failed" > emake || die "emake g95 failed" > cd "${WORKDIR}/g95-${MY_VERSION}/libf95.a-${MY_LIB_VERSION}" > econf --prefix=/usr/local --with-gcc-dir="${WORKDIR}/gcc-${MY_GCC_VERSION}" \ > || die "configure libf95 failed" > emake || die "emake libf95 failed" >} > >src_install() { > cd "${WORKDIR}/g95-${MY_PROG_VERSION}" > make install DESTDIR="${D}" > cd "${WORKDIR}/libf95.a-${MY_PROG_VERSION}" > make install DESTDIR="${D}" >} >
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 102199
:
88753
|
88754
|
92377
|
92378
|
93670
|
93733
|
96955
|
96956
|
96957