summaryrefslogtreecommitdiff
path: root/repo/libverto/libverto.xibuild
blob: 93e5eda7239abb6975437c843868c0fb7c27a0fc (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
#!/bin/sh

NAME="libverto"
DESC="Main loop abstraction library"

MAKEDEPS="glib libevent libev automake autoconf libtool"

PKG_VER=0.3.2
SOURCE="https://github.com/latchset/libverto/archive/$PKG_VER.tar.gz"

prepare() {
	cd "$BUILD_ROOT"
	autoreconf -i
}

build() {
	./configure \
		--prefix=/usr \
		--with-libev \
		--with-libevent
	make
}

check() {
	make check
}

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