summaryrefslogtreecommitdiff
path: root/repo/media/audiofile.xibuild
blob: 3a7de566a8c0bc14b7172e12442d1d015bf56da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

MAKEDEPS="make asciidoc"
DEPS="alsa-lib flac"

DESC="Libraries to support basic sound file formats"

PKG_VER=0.3.6
SOURCE=https://download.gnome.org/sources/audiofile/${PKG_VER%.*}/audiofile-$PKG_VER.tar.xz

ADDITIONAL="
    https://www.linuxfromscratch.org/patches/blfs/svn/audiofile-$PKG_VER-consolidated_patches-1.patch
    "

prepare () {
    patch -Np1 -i audiofile-$PKG_VER-consolidated_patches-1.patch 
}

build () {
    autoreconf -fiv                             &&

    ./configure --prefix=/usr --disable-static  &&

    make
}

package () {
    make DESTDIR=$PKG_DEST install
}