# Tanım: go (1.4) GNU derleyici kütüphane ve ikili dosyaları-go bootstrap
# URL: http://gcc.gnu.org
# Paketçi: milisarge@gmail.com
# Gerekler:

isim=gcc-go
surum=5.3.0
devir=1

kaynak=(http://ftp.gnu.org/gnu/gcc/gcc-$surum/gcc-$surum.tar.bz2)

derle() {
	cd gcc-$surum
	mkdir -v ../gcc-build
	cd ../gcc-build

	SED=sed \
	../gcc-$surum/configure \
	--enable-threads=posix \
	--enable-shared \
	--enable-__cxa_atexit \
	--enable-languages=c,c++,go \
	--enable-secureplt \
	--enable-checking=yes \
	--with-long-double-128 \
	--enable-decimal-float \
	--disable-bootstrap \
	--disable-alsa \
	--disable-multilib \
	--prefix=/usr/local/gccgo 

	make
	make DESTDIR=$PKG install	
}
