void-packages/srcpkgs/libuv/template
maxice8 e1e304194e libuv: update to 1.23.1.
1 out of 332 tests fail
2018-09-21 15:32:48 -03:00

34 lines
861 B
Bash

# Template file for 'libuv'
pkgname=libuv
version=1.23.1
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"
homepage="https://libuv.org/"
changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog"
distfiles="https://github.com/libuv/libuv/archive/v${version}.tar.gz"
checksum=c3386003522502d712010b852008b22b37f827e207e184e3d53f0431389299c3
LDFLAGS="-pthread"
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"
}
}