libuv: update to 1.49.2
[void-pkg.git] / srcpkgs / libuv / template
blob04c127f0115843ca21466abe598b150dfaf017da
1 # Template file for 'libuv'
2 pkgname=libuv
3 version=1.49.2
4 revision=1
5 build_style=gnu-configure
6 hostmakedepends="pkg-config"
7 short_desc="Multi-platform support library with a focus on asynchronous I/O"
8 maintainer="Enno Boland <gottox@voidlinux.org>"
9 license="MIT, BSD-2-Clause, ISC"
10 homepage="https://libuv.org/"
11 changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog"
12 distfiles="https://dist.libuv.org/dist/v${version}/libuv-v${version}-dist.tar.gz"
13 checksum=2e910e668e5daf1be6a5195a696985d7200adfa5c4d3400ee7b3355affdcf52c
14 # the tests fail when run as root and as such break in the CI containers
15 make_check=ci-skip
17 LDFLAGS="-pthread"
19 post_install() {
20         vlicense LICENSE
21         vlicense LICENSE-extra
24 libuv-devel_package() {
25         depends="${sourcepkg}>=${version}_${revision}"
26         short_desc+=" - development files"
27         pkg_install() {
28                 vmove usr/include
29                 vmove usr/lib/pkgconfig
30                 vmove "usr/lib/*.a"
31                 vmove "usr/lib/*.so"
32         }