void-packages/srcpkgs/gcc/libgfortran-devel.template

16 lines
479 B
Plaintext
Raw Normal View History

# Template file for 'libgfortran-devel'.
#
depends="libgfortran>=${_majorver}"
short_desc="GCC Fortran library ${version} - development files"
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}
}