void-packages/srcpkgs/libuv/template
2015-03-04 15:13:16 +01:00

28 lines
745 B
Text

# Template build file for 'libuv'
pkgname=libuv
version=1.4.2
revision=1
wrksrc="${pkgname}-v${version}"
short_desc="Multi-platform support library with a focus on asynchronous I/O"
maintainer="Enno Boland <eb@s01.de>"
license="BSD/ISC"
build_style="gnu-configure"
hostmakedepends="automake libtool pkg-config"
homepage="http://libuv.org/"
distfiles="http://libuv.org/dist/v${version}/libuv-v${version}.tar.gz"
checksum=1006c4055cb3fb34293bb716be127d396550a68ac0bdfc21a6631c8d7a49ce0b
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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
}
}