summaryrefslogtreecommitdiffstats
path: root/package/libsamplerate/libsamplerate.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsamplerate/libsamplerate.mk')
-rw-r--r--package/libsamplerate/libsamplerate.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
new file mode 100644
index 000000000..d03a5d992
--- /dev/null
+++ b/package/libsamplerate/libsamplerate.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# libsamplerate
+#
+################################################################################
+
+LIBSAMPLERATE_VERSION = 0.1.8
+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))