summaryrefslogtreecommitdiffstats
path: root/rules/opus.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-04-12 10:59:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-04-12 15:46:26 +0200
commit79844763d78de0c11d0522e2cbf1b9a36ddff71a (patch)
tree87faf3e70aae6a5391f1ae4789fb682bf31bfd79 /rules/opus.make
parent4a3a59ff22a7d7854c1e14ae75934458f6d8b351 (diff)
downloadptxdist-79844763d78de0c11d0522e2cbf1b9a36ddff71a.tar.gz
ptxdist-79844763d78de0c11d0522e2cbf1b9a36ddff71a.tar.xz
opus: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/opus.make')
-rw-r--r--rules/opus.make67
1 files changed, 67 insertions, 0 deletions
diff --git a/rules/opus.make b/rules/opus.make
new file mode 100644
index 000000000..a26e0dc4e
--- /dev/null
+++ b/rules/opus.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_OPUS) += opus
+
+#
+# Paths and names
+#
+OPUS_VERSION := 1.0.2
+OPUS_MD5 := c503ad05a59ddb44deab96204401be03
+OPUS := opus-$(OPUS_VERSION)
+OPUS_SUFFIX := tar.gz
+OPUS_URL := http://downloads.xiph.org/releases/opus/$(OPUS).$(OPUS_SUFFIX)
+OPUS_SOURCE := $(SRCDIR)/$(OPUS).$(OPUS_SUFFIX)
+OPUS_DIR := $(BUILDDIR)/$(OPUS)
+OPUS_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+OPUS_CONF_TOOL := autoconf
+OPUS_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-static \
+ --enable-fixed-point \
+ --disable-fixed-point-debug \
+ --disable-custom-modes \
+ --enable-float-approx \
+ --disable-assertions \
+ --disable-fuzzing \
+ --disable-doc
+
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/opus.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, opus)
+ @$(call install_fixup, opus,PRIORITY,optional)
+ @$(call install_fixup, opus,SECTION,base)
+ @$(call install_fixup, opus,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, opus,DESCRIPTION,missing)
+
+ @$(call install_lib, opus, 0, 0, 0644, libopus)
+
+ @$(call install_finish, opus)
+
+ @$(call touch)
+
+# vim: syntax=make