31 lines
759 B
Bash
31 lines
759 B
Bash
# Template build file for 'libuv'
|
|
pkgname=libuv
|
|
version=1.19.2
|
|
revision=1
|
|
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="https://github.com/libuv/libuv/archive/v$version.tar.gz"
|
|
checksum=ccc5f3b43ed171640513786e5e809508cb6308279b4d71a016e4550ad62f1686
|
|
|
|
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
|
|
}
|
|
}
|