gcc: update to 4.6.1, now with fortran and go support.

This commit is contained in:
Juan RP 2011-07-05 12:43:10 +02:00
parent e2ff5ad406
commit fd00796c9c
29 changed files with 256 additions and 62 deletions

View file

@ -0,0 +1,23 @@
# 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()
{
local triplet=
if [ "${xbps_machine}" = "x86_64" ]; then
triplet="${xbps_machine}-unknown-linux-gnu"
else
triplet="${xbps_machine}-pc-linux-gnu"
fi
vmove usr/lib/libgfortran.a usr/lib
vmove usr/lib/gcc/${triplet}/${version}/libgfortranbegin.a \
usr/lib/gcc/${triplet}/${version}
}