aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/libuv/template
blob: c837059ea5812e12ef9fea6cd4639c33b4bab46e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'libuv'
pkgname=libuv
version=1.49.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Multi-platform support library with a focus on asynchronous I/O"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT, BSD-2-Clause, ISC"
homepage="https://libuv.org/"
changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog"
distfiles="https://dist.libuv.org/dist/v${version}/libuv-v${version}-dist.tar.gz"
checksum=2e910e668e5daf1be6a5195a696985d7200adfa5c4d3400ee7b3355affdcf52c

LDFLAGS="-pthread"

post_install() {
	vlicense LICENSE
	vlicense LICENSE-extra
}

libuv-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}