summaryrefslogtreecommitdiff
path: root/package/multimedia/vorbis-tools/vorbis-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/vorbis-tools/vorbis-tools.mk')
-rw-r--r--package/multimedia/vorbis-tools/vorbis-tools.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/multimedia/vorbis-tools/vorbis-tools.mk b/package/multimedia/vorbis-tools/vorbis-tools.mk
new file mode 100644
index 000000000..6fd6c2a8e
--- /dev/null
+++ b/package/multimedia/vorbis-tools/vorbis-tools.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# vorbis-tools
+#
+#############################################################
+
+VORBIS_TOOLS_VERSION = 1.4.0
+VORBIS_TOOLS_SITE = http://downloads.xiph.org/releases/vorbis
+VORBIS_TOOLS_DEPENDENCIES = libao libogg libvorbis libcurl
+VORBIS_TOOLS_CONF_OPT = --program-transform-name=''
+
+ifeq ($(BR2_PACKAGE_FLAC),y)
+VORBIS_TOOLS_DEPENDENCIES += flac
+endif
+
+ifeq ($(BR2_PACKAGE_SPEEX),y)
+VORBIS_TOOLS_DEPENDENCIES += speex
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,vorbis-tools))