summaryrefslogtreecommitdiff
path: root/repo/apps/cava/cava.xibuild
blob: 9a60b50ccecd37af9329d0a1e53674b92c8591b1 (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
#!/bin/sh

NAME="cava"
DESC="Console-based Audio Visualizer for ALSA"

MAKEDEPS="make "
DEPS="alsa-lib fftw iniparser musl ncurses "

PKG_VER=0.8.2
SOURCE="https://github.com/karlstav/cava/archive/$PKG_VER.tar.gz"

prepare () {
    ./autogen.sh
}

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}