summaryrefslogtreecommitdiff
path: root/package/multimedia/libsamplerate/libsamplerate.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/libsamplerate/libsamplerate.mk')
-rw-r--r--package/multimedia/libsamplerate/libsamplerate.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/multimedia/libsamplerate/libsamplerate.mk b/package/multimedia/libsamplerate/libsamplerate.mk
new file mode 100644
index 000000000..94b07a40f
--- /dev/null
+++ b/package/multimedia/libsamplerate/libsamplerate.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# libsamplerate
+#
+################################################################################
+
+LIBSAMPLERATE_VERSION = 0.1.7
+LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
+LIBSAMPLERATE_INSTALL_STAGING = YES
+LIBSAMPLERATE_DEPENDENCIES = host-pkg-config
+LIBSAMPLERATE_CONF_OPT = --disable-fftw --program-transform-name=''
+
+ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
+LIBSAMPLERATE_DEPENDENCIES += libsndfile
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,libsamplerate))