summaryrefslogtreecommitdiff
path: root/repo/media/flac
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/flac')
-rw-r--r--repo/media/flac/flac.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/media/flac/flac.xibuild b/repo/media/flac/flac.xibuild
new file mode 100644
index 0000000..b72f3a5
--- /dev/null
+++ b/repo/media/flac/flac.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make xmlto"
+DEPS="libogg nasm"
+
+DESC="Free Lossless Audio Codec"
+
+PKG_VER=1.3.3
+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
+}