summaryrefslogtreecommitdiff
path: root/repo/media/libsndfile.xibuild
blob: 7e8f70ee0b6f1f9501228471da380044089ae1c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

MAKEDEPS=(make )
DEPS=(alsa-lib flac opus libvorbis)

DESC="A C library for reading and writing files containing sampled audio data"

PKG_VER=1.0.31
SOURCE=https://github.com/libsndfile/libsndfile/releases/download/$PKG_VER/libsndfile-$PKG_VER.tar.bz2

build () {
    ./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libsndfile-$PKG_VER &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}