libuv 1.2.0 style fixes

This commit is contained in:
Adrián Arroyo Calle
2015-01-18 18:44:14 +00:00
parent 464c74b346
commit 3cf60fdc4a

View File

@@ -4,9 +4,8 @@ libuv is a multi-platform support library with a focus on asynchronous I/O. \
It was primarily developed for use by Node.js, but it's also used by Luvit, \
Julia, pyuv, and others."
HOMEPAGE="http://github.com/libuv/libuv"
#SRC_URI="http://libuv.org/dist/v1.2.0/libuv-v1.2.0.tar.gz"
#CHECKSUM_SHA256="40e2d7b3ea9800d2a4fc6423c1cdcb4deaa6a834eaa02e22ad0de5dd4f3d8e10"
SRC_URI="git://github.com/hamishm/libuv#d48e9ae4bd504aadc25e26f06e83e9c2c86921ac"
SOURCE_DIR="libuv-v1.2.0"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2009-2015 Ryan Dahl and others"
@@ -45,15 +44,17 @@ BUILD_PREREQUIRES="
cmd:gyp
"
SOURCE_DIR="libuv-v1.2.0"
REQUIRES_devel="
libuv$secondaryArchSuffix == $portVersion
"
#PATCHES="libuv-1.2.0.patchset"
PROVIDES_devel="
libuv${secondaryArchSuffix}_devel = $portVersion
devel:libuv$secondaryArchSuffix = $portVersion
"
BUILD()
{
#./autogen.sh
#runConfigure ./configure
#make
rm -rf out
./gyp_uv.py -f make -Dcomponent=shared_library -Duv_library=shared_library
make -C out BUILDTYPE=Release
@@ -79,12 +80,3 @@ TEST()
# Test suite doesn't pass
}
REQUIRES_devel="
libuv$secondaryArchSuffix == $portVersion
"
PROVIDES_devel="
libuv${secondaryArchSuffix}_devel = $portVersion
devel:libuv$secondaryArchSuffix = $portVersion
"