mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
cisco.com/libsrtp (#4044)
* new file: projects/cisco.com/libsrtp/package.yml * openssl v1
This commit is contained in:
parent
fea60a18b6
commit
7a01ee4e0e
1 changed files with 33 additions and 0 deletions
33
projects/cisco.com/libsrtp/package.yml
Normal file
33
projects/cisco.com/libsrtp/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: https://github.com/cisco/libsrtp/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: cisco/libsrtp
|
||||
dependencies:
|
||||
openssl.org: ~1
|
||||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
linux:
|
||||
gnu.org/gcc: '*'
|
||||
script:
|
||||
- ./configure $CONFIGURE_ARGS
|
||||
- make --jobs {{ hw.concurrency }} test
|
||||
- make --jobs {{ hw.concurrency }} shared_library
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
- mkdir -p {{prefix}}/libexec
|
||||
# for test
|
||||
- run: cp rtpw {{prefix}}/libexec/
|
||||
working-directory: test
|
||||
env:
|
||||
linux:
|
||||
LDFLAGS: -fPIC
|
||||
CONFIGURE_ARGS:
|
||||
- --disable-debug
|
||||
- --disable-dependency-tracking
|
||||
- --prefix="{{prefix}}"
|
||||
- --libdir="{{prefix}}/lib"
|
||||
- --enable-openssl
|
||||
test:
|
||||
script:
|
||||
- "{{prefix}}/libexec/rtpw -l | grep {{version}}"
|
Loading…
Reference in a new issue