Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv3694

Added Files:
        g95.info 
Log Message:
moved from unstable


--- NEW FILE: g95.info ---
Package: g95
Version: 0.90
Revision: 1
Source: ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.3/gcc-core-4.0.3.tar.bz2
Source-MD5: 347231730fb44b609b69226c3e432d80
Source2: ftp://anonymous%%40g95%%2Eorg:[EMAIL PROTECTED]/v0.9/g95_source.tgz
Source2-MD5: dabc3693b06a8440b0856c33d605bf4a
NoSourceDirectory: True
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
NoSetMAKEFLAGS: true
Depends: odcctools (>= 590-20060413)
BuildConflicts: autogen-dev
PatchScript: <<
 #!/bin/sh -e
 cd g95-%v
 tar -xvzf libf95.a-%v.tar.gz
 # don't try to get darwin-fpsave.o from /usr/lib/libgcc.a, get instead
 # from gccdir (/usr/lib/libgcc.a doesn't exist in 10.4).
 perl -pi -e 's|ar x /usr/lib/libgcc.a darwin-fpsave.o|cp [EMAIL 
PROTECTED]@/g95/gcc/libgcc/darwin-fpsave.o .|' Makefile.in
 cd ../gcc-4.0.3
 # make odcctools being used.
 perl -pi -e 's,/usr/bin/libtool,%p/lib/odcctools/bin/libtool,;' 
gcc/config/darwin.h
<<
CompileScript: <<
 #!/bin/sh -e
 gccver=4.0.3
 darwinvers=`uname -r|cut -f1 -d.`
 cd gcc-${gccver}
 mkdir g95
 cd g95
 # build gcc 4.0.3
 ../configure --prefix=%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver} 
--enable-languages=c --with-as=%p/lib/odcctools/bin/as 
--with-ld=%p/lib/odcctools/bin/ld --with-nm=%p/lib/odcctools/bin/nm 
--with-included-gettext 
 make
<<
InstallScript: <<
 #!/bin/sh -e
 gccver=4.0.3
 darwinvers=`uname -r|cut -f1 -d.`
 # since we've gone through the trouble to build it,
 # also install gcc 4.0.3.
 cd gcc-${gccver}/g95
 make install DESTDIR=%d
 # build and install g95.
 # have to build g95 after gcc 4.0.3 is installed, cause
 # g95 messes with the files.
 cd ../../g95-%v
 ./configure --prefix=%p --with-gcc-dir=%b/gcc-${gccver} 
--host=%m-apple-darwin${darwinvers}
 make 
 cd libf95.a-%v
 ./configure %c --host=%m-apple-darwin${darwinvers}
 make 
 cd ..
 mv Makefile Makefile.orig
 sed 
"s|%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|%i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|g"
 < Makefile.orig > Makefile
 make install prefix=%i 
 cd libf95.a-%v
 mv Makefile Makefile.orig
 sed 
"s|%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|%i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|g"
 < Makefile.orig > Makefile
 make install prefix=%i
 ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libf95.a
 ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libgcc.a
 ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libgcc_eh.a
 ln -s %p/bin/%m-apple-darwin${darwinvers}-g95 %i/bin/g95
 /bin/rm -f %i/INSTALL
 mkdir -p %i/share/doc/%n
 mv %i/G95Manual.pdf %i/share/doc/%n
 ln -s %p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libf95.a 
%i/lib/libg95.a
<<
License: GPL
DocFiles: g95-%v/COPYING
Description: Another GNU Fortran 95 compiler
DescDetail: <<
The goal of the g95 project is to create a free, open source 
Fortran 95 compiler and runtime libraries.

The 'gfortran' package is the official Fortran 95 compiler for the gcc
project, and is included in gcc 4.x.  gfortran originated from
the g95 codebase.

Also installs the gcc 4.0.3 C compiler.
<<
DescPort: <<
Installs gcc 4.0.3 C compiler as well, since it is used by r-base.
In order for the C compiler to install properly, 'make install'
for gcc 4.0.3 must be run before the configure step for g95.
<<
Homepage: http://g95.org
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to