2011-07-05 12:43:10 +02:00
|
|
|
# Template file for 'gcc-fortran'.
|
|
|
|
#
|
|
|
|
short_desc="GCC Fortran compiler frontend"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains the GCC Fortran frontend."
|
|
|
|
|
2011-07-10 17:55:00 +02:00
|
|
|
revision=1
|
|
|
|
|
2011-07-05 12:43:10 +02:00
|
|
|
Add_dependency run libgcc ">=$version"
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libgfortran ">=$version"
|
|
|
|
Add_dependency run cloog-ppl
|
|
|
|
Add_dependency run ppl
|
|
|
|
Add_dependency run mpc
|
|
|
|
Add_dependency run mpfr
|
|
|
|
Add_dependency run gmp
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run gcc ">=$version"
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-07-10 17:55:00 +02:00
|
|
|
# create version -> major symlink
|
|
|
|
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
|
|
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
2011-07-05 12:43:10 +02:00
|
|
|
|
2011-07-10 17:55:00 +02:00
|
|
|
for f in gfortran ${_triplet}-gfortran; do
|
2011-07-05 12:43:10 +02:00
|
|
|
vmove usr/bin/${f} usr/bin
|
|
|
|
done
|
2011-07-10 17:55:00 +02:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/f951 \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
|
2011-07-05 12:43:10 +02:00
|
|
|
vmove usr/share/info/gfortran.info usr/share/info
|
|
|
|
touch ${DESTDIR}/usr/share/info/dir
|
|
|
|
vmove usr/share/man/man1/gfortran.1 usr/share/man/man1
|
|
|
|
}
|