# Maintainer: Natanael Copa pkgname=asio pkgver=1.12.0 _ver=${pkgver//./-} pkgrel=0 pkgdesc="A cross-platform C++ library for network programming" url="https://think-async.com" arch="all" license="BSL-1.0" depends="" depends_dev="boost-dev libressl-dev" makedepends="$depends_dev autoconf automake libtool" install="" subpackages="$pkgname-dev" source="https://github.com/chriskohlhoff/asio/archive/asio-${pkgver//./-}.tar.gz" builddir="$srcdir"/asio-asio-${pkgver//./-}/asio prepare() { cd "$builddir" ./autogen.sh } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --enable-shared make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="a0e341fd6a848784e1533df84d1e6b361c8468f59d4fbde68c1500c1f8a2124ad78db0169098dbbc594ce26717eb9760f37af13cb288a549e2bda563eecf2be3 asio-1-12-0.tar.gz"