blob: 6839a152b9cd2e07bc8fc1c3076cef2663b7f05e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Vladimir Krivopalov <vladimir.krivopalov@gmail.com>
pkgname=thrift-0.10.0
pkgver=0.10.0
pkgrel=1
pkgdesc='Scalable cross-language services framework for IPC/RPC'
arch=(i686 x86_64)
url='http://thrift.apache.org/'
license=(APACHE)
depends=(gcc-libs openssl)
makedepends=(boost libevent git)
conflicts=('thrift' 'thrift-git')
provides=('thrift')
replaces=('thrift')
source=("git://github.com/apache/thrift.git#tag=${pkgver}")
sha1sums=('SKIP')
build() {
cd thrift
./bootstrap.sh
./configure --prefix=/usr \
--with-cpp \
--with-c_glib \
--with-libevent \
--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
}
package() {
cd thrift
make DESTDIR="${pkgdir}" install
install -m0644 -D contrib/thrift.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/thrift.vim
install -m0644 -D contrib/thrift.el "$pkgdir"/usr/share/emacs/site-lisp/thrift.el
}
|