aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libexosip2/APKBUILD
blob: 13fcafe1f5dc1ffc3d9b1577510f32e09cdc7450 (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
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: David Sugar <tychosoft@gmail.com>
# Contributor: David Sugar <tychosoft@gmail.com>
pkgname=libexosip2
pkgver=5.1.0
pkgrel=0
pkgdesc="Extended osip2 library"
url="http://savannah.nongnu.org/projects/exosip"
arch="all"
license="GPL-2.0-or-later"
depends="openssl libosip2 c-ares"
makedepends="
	autoconf
	automake
	libtool
	pkgconf
	c-ares-dev
	libosip2-dev
	openssl-dev
"
options="libtool"
subpackages="$pkgname-dev"
source="http://download.savannah.nongnu.org/releases/exosip/libexosip2-$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--prefix=/usr \
		--disable-tools \
		--enable-pthread \
		--with-gnu-ld
	make
}

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

sha512sums="9ffddaaf9f62839b8aa1642a5b821d12e7e4d34097f92bcc9c90cabb97200e6a8faa2f0c9a62270f9b4b3ea783a90468e8491b1d5f834b335b4522b524496a19  libexosip2-5.1.0.tar.gz"