blob: b750def422250212960cc9f7ff27a72b356c0b2b (
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
|
# Conttributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libuv
pkgver=1.9.0
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="200d7e496ef1db01442c0382225b11fe libuv-v1.9.0.tar.gz"
sha256sums="d595b2725abcce851c76239aab038adc126c58714cfb572b2ebb2d21b3593842 libuv-v1.9.0.tar.gz"
sha512sums="458c026b86b36d54d27ece15cd00fd2c26d8634de81702083954226f1bc856e1ac40a6597625488e9926d4440ccf95befb4974ae883a3d41cc8d559e9f8302ed libuv-v1.9.0.tar.gz"
|