summaryrefslogtreecommitdiff
path: root/repo/libuv/libuv.xibuild
blob: 15846e3f4ca4b6bd8c77a32c8187a4dcf7b93d0b (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
#!/bin/sh

MAKEDEPS="make "
DEPS="musl"

PKG_VER=1.44.2
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 \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make BUILDTYPE=Release

}

package () {
    	make DESTDIR="$PKG_DEST" install
}