aboutsummaryrefslogtreecommitdiffstats
path: root/main/ortp/APKBUILD
blob: e290bb01e5e835971a8ae12bcc3fe17342b4d0b3 (plain) (blame)
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.4.13
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="b78a90f92c0b0e7131bb1a64d2690d8317b2a36216829d6f0b1526c2f797453b14265c8732f9e84e976920b15da9877e1c36284e6ee95bfa28e548debf8c2ee0  ortp-4.4.13.tar.gz"