void-packages/srcpkgs/libuv/template
2018-07-12 06:43:39 -03:00

32 lines
841 B
Bash

# Template file for 'libuv'
pkgname=libuv
version=1.22.0
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=c72f0401e1298f948daf310abafce38373a926fb9438464d1bf7fe90784544e0
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"
}
}