# Tanım: Ölçeklenebilir çoğul programlama dilleri için IPC/RPC çatısı
# URL: http://thrift.apache.org/
# Paketçi: milisarge
# Gerekler: qt5 boost libevent
# Grup: geliştirme

isim=thrift
surum=0.10.0
devir=1
kaynak=(https://github.com/apache/thrift/archive/$surum.zip::$isim-$zip.zip)

derle() {
	cd thrift-$surum

	./bootstrap.sh
	./configure --prefix=/usr \
	--with-cpp \
	--with-c_glib \
	--with-qt5 \
	--with-libevent \
	--with-csharp \
	--without-haskell \
	--without-php \
	--without-ruby \
	--without-python \
	--without-erlang \
	--without-perl \
	--without-java \
	--without-c_sharp \
	--without-d \
	--without-php \
	--without-go \
	--without-lua \
	--without-nodejs \
    --without-tests

	make -j2
	make DESTDIR="$PKG" install
	install -m0644 -D contrib/thrift.vim "$PKG"/usr/share/vim/vimfiles/syntax/thrift.vim
	install -m0644 -D contrib/thrift.el "$PKG"/usr/share/emacs/site-lisp/thrift.el

}