diff --git a/srcpkgs/libuv/files/libuv.pc.in b/srcpkgs/libuv/files/libuv.pc.in deleted file mode 100644 index cf855b1509..0000000000 --- a/srcpkgs/libuv/files/libuv.pc.in +++ /dev/null @@ -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} diff --git a/srcpkgs/libuv/template b/srcpkgs/libuv/template index bc5d344b5c..853679fdda 100644 --- a/srcpkgs/libuv/template +++ b/srcpkgs/libuv/template @@ -1,24 +1,19 @@ # Template build file for 'libuv' pkgname=libuv -version=1.0.0 -revision=2 +version=1.0.2 +revision=1 +wrksrc="${pkgname}-v${version}" short_desc="Multi-platform support library with a focus on asynchronous I/O" maintainer="Enno Boland " 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" +homepage="http://libuv.org/" +distfiles="http://libuv.org/dist/v${version}/libuv-v${version}.tar.gz" +checksum=abd9790bf66a650c3cf3b2c74754e0ab79ffdf3afacd41ae78d71b975de14800 pre_configure() { - ./autogen.sh - - sed "s:%VERSION%:${version}:g" $FILESDIR/libuv.pc.in > libuv.pc -} - -post_install() { - vinstall libuv.pc 644 /usr/lib/pkgconfig + NOCONFIGURE=1 ./autogen.sh } libuv-devel_package() { @@ -27,6 +22,7 @@ libuv-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" + vmove usr/lib/*.a + vmove usr/lib/*.so } }