mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 00:12:56 +02:00
libuv: update to 1.0.2.
This commit is contained in:
parent
f9508b1e91
commit
9dad1096fb
2 changed files with 9 additions and 24 deletions
|
@ -1,11 +0,0 @@
|
||||||
prefix=/usr
|
|
||||||
exec_prefix=/usr
|
|
||||||
libdir=${exec_prefix}/lib
|
|
||||||
includedir=${prefix}/include
|
|
||||||
|
|
||||||
Name: libuv
|
|
||||||
Version: %VERSION%
|
|
||||||
Description: multi-platform support library with a focus on asynchronous I/O.
|
|
||||||
|
|
||||||
Libs: -L${libdir} -luv -lrt -lpthread -lnsl -ldl
|
|
||||||
Cflags: -I${includedir}
|
|
|
@ -1,24 +1,19 @@
|
||||||
# Template build file for 'libuv'
|
# Template build file for 'libuv'
|
||||||
pkgname=libuv
|
pkgname=libuv
|
||||||
version=1.0.0
|
version=1.0.2
|
||||||
revision=2
|
revision=1
|
||||||
|
wrksrc="${pkgname}-v${version}"
|
||||||
short_desc="Multi-platform support library with a focus on asynchronous I/O"
|
short_desc="Multi-platform support library with a focus on asynchronous I/O"
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
license="BSD/ISC"
|
license="BSD/ISC"
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
homepage="http://libuv.org/"
|
|
||||||
distfiles="https://github.com/joyent/${pkgname}/archive/v${version}.tar.gz"
|
|
||||||
checksum=c8e6a31044fc9e19015a2ef78e6be814a7f7ef146788a613c1e10bb158175fd4
|
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
|
homepage="http://libuv.org/"
|
||||||
|
distfiles="http://libuv.org/dist/v${version}/libuv-v${version}.tar.gz"
|
||||||
|
checksum=abd9790bf66a650c3cf3b2c74754e0ab79ffdf3afacd41ae78d71b975de14800
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
NOCONFIGURE=1 ./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() {
|
libuv-devel_package() {
|
||||||
|
@ -27,6 +22,7 @@ libuv-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
vmove usr/lib/*.a
|
||||||
|
vmove usr/lib/*.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue