aboutsummaryrefslogtreecommitdiffstats
path: root/main/ortp/APKBUILD
blob: ecb5aa6b932be11eaef8a4eb7bf316c0f6d9bb4a (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ortp
pkgver=4.3.2
pkgrel=0
pkgdesc="oRTP is a library implemeting Real-time Transport Protocol (RFC3550), licensed under LGPL"
url="http://www.linphone.org/technical-corner/ortp"
arch="all"
options="!check" #no test avail
license="LGPL-2.0-or-later VSL"
makedepends="cmake bctoolbox-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://gitlab.linphone.org/BC/public/ortp/-/archive/$pkgver/ortp-$pkgver.tar.gz"

build() {
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_MODULE_PATH=/usr/lib/cmake \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_SKIP_INSTALL_RPATH=ON \
		-DENABLE_STATIC=NO \
		-DENABLE_SHARED=YES .
	make -C build
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="e3fb5d45f9128a9721703e186e5247d57542f51b9fb57eb128a9c42a2da6c950ba93130a07f9784f3d43d7f7bf0d650cc7d90c1a64794dadad06742ff35c702b  ortp-4.3.2.tar.gz"