void-packages/srcpkgs/libuv/template
maxice8 204396a009 libuv: update to 1.20.3.
Closes #14231.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-09 14:18:38 +02:00

32 lines
843 B
Bash

# Template build file for 'libuv'
pkgname=libuv
version=1.20.3
revision=1
build_style="gnu-configure"
hostmakedepends="automake libtool pkg-config"
short_desc="Multi-platform support library with a focus on asynchronous I/O"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT, CC-BY-SA-4.0"
#changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog"
homepage="http://libuv.org/"
distfiles="https://github.com/libuv/libuv/archive/v$version.tar.gz"
checksum=43a388687194a15d5f3cc1980d53c405020a3586254c620e5f3c4d241bb9da05
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
}
}