2011-07-05 10:43:10 +00:00
|
|
|
# Template file for 'gcc-go'.
|
|
|
|
#
|
|
|
|
short_desc="GCC Go compiler frontend"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains the GCC Go frontend."
|
|
|
|
|
2012-03-02 07:22:21 +00:00
|
|
|
revision=1
|
|
|
|
|
|
|
|
Add_dependency run gcc ">=${_majorver}"
|
|
|
|
Add_dependency run libgo-devel ">=${_majorver}"
|
2011-07-05 10:43:10 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-07-10 15:55:00 +00:00
|
|
|
for f in gccgo ${_triplet}-gccgo; do
|
2011-07-05 10:43:10 +00:00
|
|
|
vmove usr/bin/${f} usr/bin
|
|
|
|
done
|
2011-07-10 15:55:00 +00:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/go1 \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
|
2011-07-05 10:43:10 +00:00
|
|
|
vmove usr/share/info/gccgo.info usr/share/info
|
|
|
|
touch ${DESTDIR}/usr/share/info/dir
|
2011-11-15 16:20:37 +00:00
|
|
|
vmove usr/share/man/man1/gccgo.1 usr/share/man/man1
|
2011-07-05 10:43:10 +00:00
|
|
|
vmove usr/lib/go usr/lib
|
|
|
|
}
|