libuv: update to 1.0.0.

This commit is contained in:
Enno Boland 2014-11-21 09:31:27 +01:00
parent 6d039b86fc
commit ee61b5340e
3 changed files with 12 additions and 26 deletions

View file

@ -1617,7 +1617,7 @@ librtlsdr.so.0 librtlsdr-0.5.3_1
libSDL2_mixer-2.0.so.0 SDL2_mixer-2.0.0_1
libnxml.so.0 libnxml-0.18.3_1
libmrss.so.0 libmrss-0.19.2_1
libuv.so.0.10 libuv-0.10.27_1
libuv.so.1 libuv-1.0.0_1
libXm.so.2 lesstif-0.95.2_1
libMrm.so.2 lesstif-0.95.2_1
libUil.so.2 lesstif-0.95.2_1

View file

@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libuv
Version: 0.10.27
Version: %VERSION%
Description: multi-platform support library with a focus on asynchronous I/O.
Libs: -L${libdir} -luv -lrt -lpthread -lnsl -ldl

View file

@ -1,38 +1,24 @@
# Template build file for 'libuv'
pkgname=libuv
version=0.10.29
version=1.0.0
revision=1
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=a778908e1c658138b353fdb4d5f8e330384bd4984e973233e828bdc69dce2718
checksum=c8e6a31044fc9e19015a2ef78e6be814a7f7ef146788a613c1e10bb158175fd4
hostmakedepends="automake libtool"
do_build() {
make CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="$STRIP"
pre_configure() {
./autogen.sh
sed "s:%VERSION:${version}:g" $FILESDIR/libuv.pc.in > libuv.pc
}
do_install() {
vinstall LICENSE 644 \
usr/share/licenses/${pkgname}
vinstall AUTHORS 644 \
usr/share/doc/${pkgname}
vinstall README.md 644 \
usr/share/doc/${pkgname}
vinstall include/uv.h 644 usr/include
vinstall include/uv-private/uv-unix.h 644 \
usr/include/uv-private
vinstall include/uv-private/uv-linux.h 644 \
usr/include/uv-private
vinstall $FILESDIR/libuv.pc 644 /usr/lib/pkgconfig
vinstall libuv.a 644 "usr/lib"
vinstall libuv.so 644 "usr/lib"
mv $DESTDIR/usr/lib/libuv.so $DESTDIR/usr/lib/libuv.so.${version%.*}
ln -sr $DESTDIR/usr/lib/libuv.so.${version%.*} $DESTDIR/usr/lib/libuv.so
post_install() {
vinstall libuv.pc 644 /usr/lib/pkgconfig
}
libuv-devel_package() {