2011-07-05 12:43:10 +02: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 17:55:00 +02:00
|
|
|
|
2012-03-02 08:22:21 +01:00
|
|
|
Add_dependency run libgfortran ">=${_majorver}"
|
2011-07-05 12:43:10 +02:00
|
|
|
|
2012-03-02 08:22:21 +01:00
|
|
|
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
|
|
|
|
|
|
|
vmove usr/lib/libgfortran.a usr/lib
|
2011-07-10 17:55:00 +02:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/libgfortranbegin.a \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
2011-07-05 12:43:10 +02:00
|
|
|
}
|