summaryrefslogtreecommitdiff
path: root/repo/audiofile
diff options
context:
space:
mode:
Diffstat (limited to 'repo/audiofile')
-rw-r--r--repo/audiofile/audiofile.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/audiofile/audiofile.xibuild b/repo/audiofile/audiofile.xibuild
new file mode 100644
index 0000000..3a7de56
--- /dev/null
+++ b/repo/audiofile/audiofile.xibuild
@@ -0,0 +1,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
+}