32 lines
802 B
Text
32 lines
802 B
Text
# Template build file for 'libuv'
|
|
pkgname=libuv
|
|
version=1.0.0
|
|
revision=2
|
|
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"
|
|
homepage="http://libuv.org/"
|
|
distfiles="https://github.com/joyent/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=c8e6a31044fc9e19015a2ef78e6be814a7f7ef146788a613c1e10bb158175fd4
|
|
hostmakedepends="automake libtool"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
|
|
sed "s:%VERSION%:${version}:g" $FILESDIR/libuv.pc.in > libuv.pc
|
|
}
|
|
|
|
post_install() {
|
|
vinstall libuv.pc 644 /usr/lib/pkgconfig
|
|
}
|
|
|
|
libuv-devel_package() {
|
|
depends="libuv>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|