34 lines
862 B
Bash
34 lines
862 B
Bash
# Template file for 'libuv'
|
|
pkgname=libuv
|
|
version=1.24.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.org>"
|
|
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=0d026c8f68c4d7b7c59de8f485f262ac71c24e0f3a80d740a25d20edd2f2774e
|
|
|
|
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"
|
|
}
|
|
}
|