mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
32 lines
798 B
YAML
32 lines
798 B
YAML
|
distributable:
|
||
|
url: https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-{{version}}/cyrus-sasl-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: cyrus-sasl
|
||
|
|
||
|
versions:
|
||
|
github: cyrusimap/cyrus-sasl
|
||
|
strip: /^cyrus-sasl-/
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
kerberos.org: '*'
|
||
|
openssl.org: ^1.1.1
|
||
|
script:
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --disable-macos-framework
|
||
|
- --disable-dependency-tracking
|
||
|
- --disable-silent-rules
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --with-ssl={{ deps.openssl.org.prefix }}
|
||
|
linux:
|
||
|
CFLAGS: -Wno-implicit-function-declaration
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- cc fixture.cpp "-I{{prefix}}/include", "-L{{prefix}}/lib" -lsasl2
|
||
|
- test "$(./a.out)" = "20 SGVsbG8sIHdvcmxkIQ=="
|