aboutsummaryrefslogblamecommitdiffstats
path: root/testing/libstrophe/APKBUILD
blob: e8d3f431b3191dc94f8ec8d6013c2a2fd230dd30 (plain) (tree)
1
2
3
4
5
6
7
8

                                       

             


                                                                
                          























                                                                                                  
                                                                                                                                                          
 
# Maintainer: j.r <j.r@jugendhacker.de>
pkgname=libstrophe
pkgver=0.12.0
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="
cfd47f4cd7737cb18a4c0d7a5aa7819035466f2c81de3919d406ac599f322cde69cec82bfa6832d29c4cf74e0053bf5ee358ee0559881a6d02540ca413f21aee  libstrophe-0.12.0.tar.gz
"