void-packages/srcpkgs/libuv/template
2018-04-23 07:51:09 +02:00

31 lines
769 B
Bash

# Template build file for 'libuv'
pkgname=libuv
version=1.20.2
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="http://libuv.org/"
distfiles="https://github.com/libuv/libuv/archive/v$version.tar.gz"
checksum=a5e62a6ed3c25a712477b55ce923e7f49af95b80319f88b9c950200d65427793
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
}
}