22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
# 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."
|
|
|
|
|
|
Add_dependency run libgfortran ">=${version}"
|
|
|
|
do_install()
|
|
{
|
|
# create version -> major symlink
|
|
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
|
|
vmove usr/lib/libgfortran.a usr/lib
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/libgfortranbegin.a \
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
}
|