blob: fe107905a8405a23a7dc12a5092ae9f0c5754ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libuv
pkgver=1.34.2
pkgrel=0
pkgdesc="Cross-platform asychronous I/O"
url="https://libuv.org"
arch="all"
license="MIT AND ISC"
makedepends_build="automake autoconf libtool"
makedepends_host="linux-headers"
subpackages="$pkgname-static $pkgname-dev $pkgname-dbg"
source="https://dist.libuv.org/dist/v$pkgver/libuv-v$pkgver.tar.gz
disable-test-failing-on-builders.patch
"
builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
default_prepare
sh autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make CFLAGS="$CFLAGS -D__USE_MISC" BUILDTYPE=Release
}
check() {
# see https://github.com/libuv/libuv/issues/2307
case $CARCH in
x86*)
if test $DRONE; then
sed -i "s/TEST_.*(ipc_closed_handle)//g" test/test-list.h
fi
;;
esac
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="1b526af6e68441999f62d00edae55141330f9a16f80eb1be995e935bd951e00daf50e75461c1d28cfe2c4a4918482b23ceea702af61010b73752a63bab89e286 libuv-v1.34.2.tar.gz
0d155259cfaa78fd229a015fd7181b9a76bf4618e36e6e9d4697323cddcde42f29598f161f6831489ec31adc5cf2614cb670021bf6f5ede7202bcbad7f675fbb disable-test-failing-on-builders.patch"
|