summaryrefslogtreecommitdiff
path: root/repo/libsamplerate
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libsamplerate')
-rw-r--r--repo/libsamplerate/libsamplerate.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/libsamplerate/libsamplerate.xibuild b/repo/libsamplerate/libsamplerate.xibuild
new file mode 100644
index 0000000..1c3dd07
--- /dev/null
+++ b/repo/libsamplerate/libsamplerate.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make xmlto"
+DEPS="libogg nasm"
+
+DESC="An audio sample rate conversion library"
+
+PKG_VER=0.2.2
+SOURCE=https://github.com/libsndfile/libsamplerate/releases/download/$PKG_VER/libsamplerate-$PKG_VER.tar.xz
+
+build () {
+ ./configure --prefix=/usr \
+ --disable-static \
+ --docdir=/usr/share/doc/libsamplerate-$PKG_VER &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}