summaryrefslogtreecommitdiff
path: root/repo/media/libsndfile/libsndfile.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/libsndfile/libsndfile.xibuild')
-rw-r--r--repo/media/libsndfile/libsndfile.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/media/libsndfile/libsndfile.xibuild b/repo/media/libsndfile/libsndfile.xibuild
new file mode 100644
index 0000000..78ae0f1
--- /dev/null
+++ b/repo/media/libsndfile/libsndfile.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="alsa-lib flac opus libvorbis"
+
+DESC="A C library for reading and writing files containing sampled audio data"
+
+PKG_VER=1.0.31
+SOURCE=https://github.com/libsndfile/libsndfile/releases/download/$PKG_VER/libsndfile-$PKG_VER.tar.bz2
+
+build () {
+ ./configure --prefix=/usr \
+ --disable-static \
+ --docdir=/usr/share/doc/libsndfile-$PKG_VER &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}