26 lines
726 B
Bash
26 lines
726 B
Bash
# Template file for 'asio'
|
|
pkgname=asio
|
|
version=1.14.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="boost-devel"
|
|
depends="boost-devel"
|
|
short_desc="Cross-platform C++ library for ASynchronous network I/O"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSL-1.0"
|
|
homepage="http://think-async.com/Asio/"
|
|
distfiles="${SOURCEFORGE_SITE}/asio/asio-${version}.tar.bz2"
|
|
checksum=2e1be1a518a568525f79b5734d13731b6b4e4399ec576a0961db6e2d86112973
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) # Enable strerror_r(3) version for musl libc
|
|
vsed -e "/#define ASIO_IMPL_ERROR_CODE_IPP/a #define MUSL_LIBC" \
|
|
-i ${wrksrc}/include/asio/impl/error_code.ipp
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE_1_0.txt
|
|
}
|