summaryrefslogtreecommitdiff
path: root/repo/media/libsamplerate.xibuild
blob: c985452e4d8fb8ccc09c56967740a3c996f24cc5 (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 xmlto)
DEPS=(libogg nasm)

DESC="An audio sample rate conversion library"

PKG_VER=0.2.2
SOURCE=https://github.com/libsndfile/libsamplerate/releases/download/$PKG_VER/libsamplerate-$PKG_VER.tar.xz

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

package () {
    make DESTDIR=$PKG_DEST install
}