2023-05-04 22:10:06 +03:00
|
|
|
distributable:
|
|
|
|
url: https://dlcdn.apache.org/thrift/{{version}}/thrift-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: apache/thrift
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
openssl.org: '1.1'
|
|
|
|
zlib.net: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/automake: '*'
|
|
|
|
gnu.org/autoconf: '*'
|
|
|
|
gnu.org/libtool: '*'
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
gnu.org/bison: '*'
|
|
|
|
boost.org: '*'
|
|
|
|
|
|
|
|
script: |
|
|
|
|
./bootstrap.sh
|
|
|
|
./configure $ARGS
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
- --disable-debug
|
|
|
|
- --disable-tests
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
- --libdir={{prefix}}/lib
|
|
|
|
- --with-openssl={{deps.openssl.org.prefix}}
|
|
|
|
- --with-boost={{deps.boost.org.prefix}}
|
|
|
|
- --without-java
|
|
|
|
- --without-kotlin
|
|
|
|
- --without-python
|
|
|
|
- --without-py3
|
|
|
|
- --without-ruby
|
|
|
|
- --without-haxe
|
|
|
|
- --without-netstd
|
|
|
|
- --without-perl
|
|
|
|
- --without-php
|
|
|
|
- --without-php_extension
|
|
|
|
- --without-dart
|
|
|
|
- --without-erlang
|
|
|
|
- --without-go
|
|
|
|
- --without-d
|
|
|
|
- --without-nodejs
|
|
|
|
- --without-nodets
|
|
|
|
- --without-lua
|
|
|
|
- --without-rs
|
|
|
|
- --without-swift
|
|
|
|
PY_PREFIX: "{{prefix}}"
|
|
|
|
PHP_PREFIX: "{{prefix}}"
|
2023-09-05 01:52:58 +03:00
|
|
|
# 0.19.0 has an unused `int j = 0;`.
|
|
|
|
CXXFLAGS: $CXXFLAGS -Wno-unused-but-set-variable
|
2023-05-04 22:10:06 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/thrift
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
thrift --version | grep {{version}}
|