34 lines
936 B
Bash
34 lines
936 B
Bash
# Template file for 'libuv'
|
|
pkgname=libuv
|
|
version=1.48.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
short_desc="Multi-platform support library with a focus on asynchronous I/O"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT, BSD-2-Clause, ISC"
|
|
homepage="https://libuv.org/"
|
|
changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog"
|
|
distfiles="https://dist.libuv.org/dist/v${version}/libuv-v${version}-dist.tar.gz"
|
|
checksum=c593139feb9061699fdd2f7fde47bb6c1ca77761ae9ec04f052083f1ef46c13b
|
|
# the tests fail when run as root and as such break in the CI containers
|
|
make_check=ci-skip
|
|
|
|
LDFLAGS="-pthread"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vlicense LICENSE-extra
|
|
}
|
|
|
|
libuv-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|