blob: 5db8b5a08abf078d588f9e8697a34f7020d3ed5a (
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
51
52
53
54
|
# Contributor: Jochen Schalanda <jochen+aur@schalanda.name>
# Contributor: Byron Clark <byron@theclarkfamily.name>
pkgname=thrift-java
pkgver=0.9.1
pkgrel=1
pkgdesc="Java bindings for Thrift, a scalable cross-language services framework for IPC/RPC"
arch=(i686 x86_64)
url="http://thrift.apache.org/"
license=(APACHE)
depends=(zlib libevent openssl java-runtime)
makedepends=(automake autoconf libtool apache-ant java-environment)
optdepends=(
'thrift-base: for the Thrift compiler'
'vim-thrift: for syntax highlighting in vim')
options=(!emptydirs !makeflags)
source=(http://www.apache.org/dist/thrift/$pkgver/thrift-$pkgver.tar.gz
maven-repo-path.patch)
md5sums=('d2e46148f6e800a9492dbd848c66ab6e'
'bfcb3b12a8c07d5d0d9e96a7e712a74c')
build() {
cd $srcdir/thrift-$pkgver
patch -p1 -i $srcdir/maven-repo-path.patch
# apache-ant is not installed in a normal path location
. /etc/profile.d/apache-ant.sh
./configure --prefix=/usr \
--without-cpp \
--without-qt4 \
--without-c_glib \
--without-csharp \
--with-java \
--without-erlang \
--without-perl \
--without-php \
--without-php_extension \
--without-python \
--without-ruby \
--without-haskell \
--without-go \
--without-d
make
}
package() {
cd $srcdir/thrift-$pkgver
make DESTDIR=$pkgdir install
rm -r $pkgdir/usr/bin
}
# vim:set ts=2 sw=2 et:
|