2015-04-29 07:25:38 +00:00
|
|
|
# Template file for 'asio'
|
|
|
|
pkgname=asio
|
2015-08-22 08:59:06 +00:00
|
|
|
version=1.11.0
|
|
|
|
revision=1
|
2015-04-29 07:25:38 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
makedepends="boost-devel"
|
|
|
|
depends="boost-devel"
|
|
|
|
short_desc="Cross-platform C++ library for ASynchronous network I/O"
|
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
|
|
license="Boost"
|
|
|
|
homepage="http://asio.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/asio/asio-${version}.tar.bz2"
|
2015-08-22 08:59:06 +00:00
|
|
|
checksum=4f7e13260eea67412202638ec111cb5014f44bdebe96103279c60236874daa50
|
2015-07-12 12:23:17 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) # Enable strerror_r(3) version for musl libc
|
|
|
|
sed -e "/#define ASIO_IMPL_ERROR_CODE_IPP/a #define MUSL_LIBC" \
|
|
|
|
-i ${wrksrc}/include/asio/impl/error_code.ipp
|
|
|
|
esac
|
|
|
|
}
|