# Template build file for 'libuv' pkgname=libuv version=1.16.1 revision=1 short_desc="Multi-platform support library with a focus on asynchronous I/O" maintainer="Enno Boland " license="BSD/ISC" build_style="gnu-configure" hostmakedepends="automake libtool pkg-config" homepage="http://libuv.org/" distfiles="https://github.com/libuv/libuv/archive/v$version.tar.gz" checksum=61f7937eef924da0dc386c038b8a4e1fc4f1803af966e1ecf640fb0e1cb5043b pre_configure() { NOCONFIGURE=1 ./autogen.sh } post_install() { vlicense LICENSE } libuv-devel_package() { depends="libuv>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/lib/*.a vmove usr/lib/*.so } }