aboutsummaryrefslogtreecommitdiffstats
path: root/community/asio/APKBUILD
blob: a249573d589b241a8c8693a6a968b1c7db643f45 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asio
pkgver=1.24.0
pkgrel=0
pkgdesc="Cross-platform C++ library for network programming"
url="https://think-async.com/Asio/"
arch="all"
license="BSL-1.0"
depends_dev="boost-dev openssl-dev>3"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/sourceforge/asio/asio-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="
c877968229bc5c4c21156b2bbb9775c7b11c3878cd62e8df3afaa70b2f221c59c6e4fa425cfb028cd170f9453ac1c32c5229f89437b13ac39142e4b52304c820  asio-1.24.0.tar.bz2
"