aboutsummaryrefslogtreecommitdiffstats
path: root/testing/belr/APKBUILD
blob: b3462e37ea13238ae56113cf6d4fc5b1464f2bca (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
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=belr
pkgver=4.5.13
pkgrel=0
pkgdesc="ABNF Parser"
url="https://www.linphone.org"
arch="all"
license="GPL-3.0-or-later"
options="!check" # not test available
makedepends="cmake bctoolbox-dev eudev-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belr/archive/$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_MODULE_PATH=/usr/lib/cmake \
		-DENABLE_STRICT=NO \
		-DENABLE_SHARED=YES \
		-DENABLE_TESTS=NO \
		-DENABLE_STATIC=NO \
		.
	make
}

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

sha512sums="
160fe7d16d15ac3519cd08de809083cb8a2ce618d2b86c6113959aee89f5ac0e8f2f9f5edca93c9c595e28a9b289bbb9d4f3e967caa2373293e0d91ba15087b4  belr-4.5.13.tar.gz
"