summaryrefslogtreecommitdiff
path: root/repo/system/libuv.xibuild
blob: b5e65b6440a12b9b5bd436dc717923ff69303f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="automake autoconf libtool make"
DEPS="musl"

PKG_VER=1.44.1
SOURCE=https://dist.libuv.org/dist/v$PKG_VER/libuv-v$PKG_VER.tar.gz
DESC="Cross-platform asychronous I/O"

prepare () {
    sh autogen.sh
}

build () {
    ./configure --prefix=/usr 
    make CFLAGS="$CFLAGS -D__USE_MISC" BUILDTYPE=Release
}

package () {
    make DESTDIR=$PKG_DEST install
}