2011-07-05 10:43:10 +00:00
|
|
|
# Template file for 'libgfortran-devel'.
|
|
|
|
#
|
|
|
|
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
|
|
|
|
2012-03-02 07:22:21 +00:00
|
|
|
Add_dependency run libgfortran ">=${_majorver}"
|
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
|
|
|
}
|