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