void-packages/srcpkgs/gcc/gcc-fortran.template
2012-03-30 12:40:29 +02:00

25 lines
680 B
Text

# Template file for 'gcc-fortran'.
#
short_desc="GCC Fortran compiler frontend"
long_desc="${long_desc}
This package contains the GCC Fortran frontend."
Add_dependency run gcc ">=${_majorver}"
Add_dependency run libgfortran-devel ">=${_majorver}"
do_install() {
for f in gfortran ${_triplet}-gfortran; do
vmove usr/bin/${f} usr/bin
done
vmove usr/lib/gcc/${_triplet}/${_majorver}/f951 \
usr/lib/gcc/${_triplet}/${_majorver}
vmove usr/lib/gcc/${_triplet}/${_majorver}/finclude \
usr/lib/gcc/${_triplet}/${_majorver}
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
}