25 lines
574 B
Text
25 lines
574 B
Text
# Template file for 'gcc-go'.
|
|
#
|
|
revision=2
|
|
short_desc="GCC Go compiler frontend"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains the GCC Go frontend."
|
|
|
|
|
|
Add_dependency run gcc ">=$version"
|
|
Add_dependency run libgo-devel ">=$version"
|
|
|
|
do_install()
|
|
{
|
|
for f in gccgo ${_triplet}-gccgo; do
|
|
vmove usr/bin/${f} usr/bin
|
|
done
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/go1 \
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
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
|
|
}
|