2011-07-05 10:43:10 +00:00
|
|
|
# Template file for 'gcc-fortran'.
|
|
|
|
#
|
|
|
|
short_desc="GCC Fortran compiler frontend"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains the GCC Fortran frontend."
|
|
|
|
|
2012-03-02 07:22:21 +00:00
|
|
|
revision=2
|
2012-03-02 06:27:28 +00:00
|
|
|
|
2012-03-02 07:22:21 +00:00
|
|
|
Add_dependency run gcc ">=${_majorver}"
|
|
|
|
Add_dependency run libgfortran-devel ">=${_majorver}"
|
2011-07-05 10:43:10 +00:00
|
|
|
|
2012-03-02 06:27:28 +00:00
|
|
|
do_install() {
|
2011-07-10 15:55:00 +00:00
|
|
|
for f in gfortran ${_triplet}-gfortran; do
|
2011-07-05 10:43:10 +00:00
|
|
|
vmove usr/bin/${f} usr/bin
|
|
|
|
done
|
2011-07-10 15:55:00 +00:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/f951 \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
|
2012-03-02 06:27:28 +00:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/finclude \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
|
2011-07-05 10:43:10 +00: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
|
|
|
|
}
|