blob: 93eda0cc1b35aeec3fc8b04190bb7cd960b8561a (
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
|
# 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.10.1
pkgrel=0
pkgdesc="Cross-platform asychronous I/O"
url="http://libuv.org"
arch="all"
license="MIT BSD ISC"
depends=""
depends_dev=""
makedepends="automake autoconf libtool linux-headers"
install=""
subpackages="$pkgname-dev"
source="http://dist.libuv.org/dist/v$pkgver/$pkgname-v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-v$pkgver
prepare() {
cd "$_builddir"
sh autogen.sh || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make CFLAGS="$CFLAGS -D__USE_MISC" BUILDTYPE=Release || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="1d41d7fbc10e7154d21da5591f8b6976 libuv-v1.10.1.tar.gz"
sha256sums="4886badd96dcc74debbb5736381960f22bae2308166bc0a1074bcd6d364d1a7f libuv-v1.10.1.tar.gz"
sha512sums="d417f0e3d4964c2cd385fb70ec5ca27a2333f37c07dcca77694e559a067fe2f2b3d7d3b27ad9b6ef186720a1ecc8d499206f84dbd20563e8976d1e334016a6da libuv-v1.10.1.tar.gz"
|