aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libstrophe/APKBUILD
blob: 085eb1d7f3995b282d40758cd0eec2ae5bb2aee3 (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
# Maintainer: j.r <j.r@jugendhacker.de>
pkgname=libstrophe
pkgver=0.12.1
pkgrel=0
pkgdesc="Simple, lightweight C library for writing XMPP clients"
url="https://strophe.im/libstrophe/"
arch="all"
license="GPL-3.0-only MIT"
makedepends="expat-dev openssl-dev"
subpackages="$pkgname-dev"
source="https://github.com/strophe/libstrophe/releases/download/$pkgver/libstrophe-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="
15c910da092a186452da1204b58704ca1ff33120daa52744ddde8e2a43ffb22aaa680bdf7028bb90ea6c766988c03310a7b4b2687edcc162dfab42dc9ae76048  libstrophe-0.12.1.tar.gz
"