summaryrefslogtreecommitdiff
path: root/repo/media/libsamplerate/libsamplerate.xibuild
blob: 1c3dd0770091dd95c479c6b048c6bf5b9a67669a (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 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
}