summaryrefslogtreecommitdiff
path: root/repo/flac/flac.xibuild
blob: ab014166d2ad894cf078745f34525e5fdb46e7d0 (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="Free Lossless Audio Codec"

PKG_VER=1.4.0
SOURCE=https://downloads.xiph.org/releases/flac/flac-$PKG_VER.tar.xz

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

package () {
    make DESTDIR=$PKG_DEST install
}