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

NAME="jack"
DESC="The Jack Audio Connection Kit"

MAKEDEPS="alsa-lib dbus expat libsamplerate libsndfile ncurses readline python linux-headers"

PKG_VER=1.9.21
SOURCE="https://github.com/jackaudio/jack2/archive/v$PKG_VER/jack2-v$PKG_VER.tar.gz"

ADDITIONAL="
fix-execinfo.patch
"
prepare () {
    apply_patches
}

build() {
	./waf configure \
		--prefix=/usr \
		--mandir=/usr/share/man/man1 \
		--libdir=/usr/lib \
		--dbus \
		--alsa \
		--classic

	./waf build -v
}

package() {
	./waf --destdir="$PKG_DEST" install
}