gcc: update to 4.6.1, now with fortran and go support.
This commit is contained in:
parent
e2ff5ad406
commit
fd00796c9c
29 changed files with 256 additions and 62 deletions
23
srcpkgs/gcc/libgfortran-devel.template
Normal file
23
srcpkgs/gcc/libgfortran-devel.template
Normal 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}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue