aboutsummaryrefslogtreecommitdiffstats
path: root/community/asio/APKBUILD
blob: 9819be756e2fa6db5927c74047703f4cbd7bf955 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asio
pkgver=1.18.1
pkgrel=2
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"
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="06b41869858b69bc523564d5b219f8ebc995ca862e989f65233778c7596143075662880b6c5dd2eb24c21ba6e68a450888ab07a6bc8585bb6ede9a738e1e27c0  asio-1.18.1.tar.bz2"