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

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
}