void-packages/srcpkgs/libuv/template
2017-07-07 08:14:40 +00:00

32 lines
799 B
Bash

# Template build file for 'libuv'
pkgname=libuv
version=1.13.1
revision=1
wrksrc="${pkgname}-v${version}"
short_desc="Multi-platform support library with a focus on asynchronous I/O"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD/ISC"
build_style="gnu-configure"
hostmakedepends="automake libtool pkg-config"
homepage="http://libuv.org/"
distfiles="http://dist.libuv.org/dist/v${version}/libuv-v${version}.tar.gz"
checksum=824fe07476a9cab519d2d3e2be6d49f1faa1e7bb59224f0d81a7d6a307ce3937
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
}
}