blob: 4c6b98842055e05c51d350b9f21fff886be3ce43 (
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
|
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Conttributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libuv
pkgver=1.21.0
pkgrel=0
pkgdesc="Cross-platform asychronous I/O"
url="http://libuv.org"
arch="all"
license="MIT BSD ISC"
makedepends="automake autoconf libtool linux-headers"
subpackages="$pkgname-dev $pkgname-dbg"
source="https://dist.libuv.org/dist/v$pkgver/$pkgname-v$pkgver.tar.gz
musl-dont-have-EFTYPE.patch
disable-setuid-test.patch
"
builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
default_prepare
cd "$builddir"
sh autogen.sh
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make CFLAGS="$CFLAGS -D__USE_MISC" BUILDTYPE=Release
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="643ec3fc7c1f42e33f54a4cca5ed33a4128e12619036d1deb2b9b57bbb38ded2e4298b9a7340916d996e374fa81861cef0eecf8a8837803cfc5073f19903d1c7 libuv-v1.21.0.tar.gz
06d30dfba78f0cfa46c1c686beaa572681d55fa63f11068aee551639e73e4b06aa66d6b8df561ec4ed3cb3f3bf775a7e01b3f3c2cd046cff34303d6574b736dd musl-dont-have-EFTYPE.patch
081b98efa33264d326d998f32600635efd5723de1d9836b99039c60168580c7f56a7ea9fdd138f41bb1aede11da70079cce4aa69ea5b954b7f9e4dcad53ba16a disable-setuid-test.patch"
|