summaryrefslogtreecommitdiff
path: root/repo/libsrtp/libsrtp.xibuild
blob: 1887ea063986606228ee4fcfdd1c2a2c2ca889f8 (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
#!/bin/sh

NAME="libsrtp"
DESC="implementation of the Secure Real-time Transport Protocol (SRTP)"

MAKEDEPS="doxygen libpcap meson ninja openssl"

PKG_VER=2.4.2
SOURCE="https://github.com/cisco/libsrtp/archive/v$PKG_VER.tar.gz"

build() {
	meson --prefix=/usr \
		-Dcrypto-library=openssl \
		builddir .
	meson compile -C builddir
}

check() {
	meson test --no-rebuild -v -C builddir
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C builddir
}