2011-07-05 10:43:10 +00:00
|
|
|
# Template file for 'libgfortran-devel'.
|
|
|
|
#
|
2012-06-03 07:58:27 +00:00
|
|
|
depends="libgfortran>=${_majorver}"
|
2011-07-05 10:43:10 +00:00
|
|
|
short_desc="GCC Fortran library ${version} - development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains the GCC Fortran headers and static libraries."
|
|
|
|
|
2011-07-10 15:55:00 +00:00
|
|
|
|
2011-07-05 10:43:10 +00:00
|
|
|
|
2012-03-02 07:22:21 +00:00
|
|
|
do_install() {
|
2011-07-10 15:55:00 +00: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 10:43:10 +00:00
|
|
|
|
|
|
|
vmove usr/lib/libgfortran.a usr/lib
|
2011-07-10 15:55:00 +00:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/libgfortranbegin.a \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
2011-07-05 10:43:10 +00:00
|
|
|
}
|