2014-05-29 17:52:44 +00:00
|
|
|
# Template build file for 'libuv'
|
|
|
|
pkgname=libuv
|
2015-03-04 14:12:48 +00:00
|
|
|
version=1.4.2
|
2014-12-19 09:35:22 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-v${version}"
|
2014-05-29 19:13:17 +00:00
|
|
|
short_desc="Multi-platform support library with a focus on asynchronous I/O"
|
2014-05-29 17:52:44 +00:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="BSD/ISC"
|
2014-11-21 08:31:27 +00:00
|
|
|
build_style="gnu-configure"
|
2014-12-19 09:36:49 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2014-12-19 09:35:22 +00:00
|
|
|
homepage="http://libuv.org/"
|
|
|
|
distfiles="http://libuv.org/dist/v${version}/libuv-v${version}.tar.gz"
|
2015-03-04 14:12:48 +00:00
|
|
|
checksum=1006c4055cb3fb34293bb716be127d396550a68ac0bdfc21a6631c8d7a49ce0b
|
2014-05-29 17:52:44 +00:00
|
|
|
|
2014-11-21 08:31:27 +00:00
|
|
|
pre_configure() {
|
2014-12-19 09:35:22 +00:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2014-05-29 17:52:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
libuv-devel_package() {
|
|
|
|
depends="libuv>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-12-19 09:35:22 +00:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2014-05-29 17:52:44 +00:00
|
|
|
}
|
|
|
|
}
|