7 pkgdesc="Header file allowing to call Fortran routines from C and C++ "
10 url="http://www-zeus.desy.de/~burow/cfortran/"
11 install=(cfortran.install)
15 NETADDRESS=http://ftp.heanet.ie/debian/pool/main/c/cfortran/
16 ORIGINFILE=cfortran_4.4.orig.tar.gz
17 PATCHFILE=cfortran_4.4-13.diff.gz
19 source=("${NETADDRESS}/${ORIGINFILE}" "${NETADDRESS}/${PATCHFILE}")
24 patch -p0 <cfortran_4.4-13.diff
26 INCLUDEDIR=$startdir/pkg/usr/local/include/cfortran
27 EXAMPLEDIR=$startdir/pkg/usr/local/examples/cfortran
28 DOCDIR=$startdir/pkg/usr/local/doc/cfortran
30 [ -d $INCLUDEDIR ] || mkdir -p $INCLUDEDIR
31 [ -d $EXAMPLEDIR ] || mkdir -p $EXAMPLEDIR
32 [ -d $DOCDIR ] || mkdir -p $DOCDIR
34 cd $startdir/src/cfortran-4.4
35 cp cfortran.h $INCLUDEDIR/
37 cp cfortran.doc cfortran.html index.htm cfortest.c cfortest.f $DOCDIR/
39 tar xfz cfortran.examples.tar.gz
40 cp -r eg/* $EXAMPLEDIR/