summaryrefslogtreecommitdiffstats
path: root/rules/libshout.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-22 11:46:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-09-22 11:47:24 +0200
commit0659753eedbc91fffa7ace924b2578e56d165c0a (patch)
tree3b917c34c05a65a2ca65e61ba4fddcf4694c0532 /rules/libshout.make
parent4e717b4644ee4e7e6c0d3504a5701c5979eb3454 (diff)
downloadptxdist-0659753eedbc91fffa7ace924b2578e56d165c0a.tar.gz
ptxdist-0659753eedbc91fffa7ace924b2578e56d165c0a.tar.xz
libshout: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libshout.make')
-rw-r--r--rules/libshout.make63
1 files changed, 63 insertions, 0 deletions
diff --git a/rules/libshout.make b/rules/libshout.make
new file mode 100644
index 000000000..ad8cfa4c4
--- /dev/null
+++ b/rules/libshout.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 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_LIBSHOUT) += libshout
+
+#
+# Paths and names
+#
+LIBSHOUT_VERSION := 2.3.1
+LIBSHOUT_MD5 := 11765b2592e7ea623ccd93d3f8df172c
+LIBSHOUT := libshout-$(LIBSHOUT_VERSION)
+LIBSHOUT_SUFFIX := tar.gz
+LIBSHOUT_URL := http://downloads.xiph.org/releases/libshout/$(LIBSHOUT).$(LIBSHOUT_SUFFIX)
+LIBSHOUT_SOURCE := $(SRCDIR)/$(LIBSHOUT).$(LIBSHOUT_SUFFIX)
+LIBSHOUT_DIR := $(BUILDDIR)/$(LIBSHOUT)
+LIBSHOUT_LICENSE := LGPLv2+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBSHOUT_CONF_TOOL := autoconf
+LIBSHOUT_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --enable-thread \
+ --$(call ptx/endis, PTXCONF_LIBSHOUT_THEORA)-theora \
+ --$(call ptx/endis, PTXCONF_LIBSHOUT_SPEEX)-speex
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libshout.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libshout)
+ @$(call install_fixup, libshout,PRIORITY,optional)
+ @$(call install_fixup, libshout,VERSION,$(LIBSHOUT_VERSION))
+ @$(call install_fixup, libshout,SECTION,base)
+ @$(call install_fixup, libshout,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, libshout,DEPENDS,)
+ @$(call install_fixup, libshout,DESCRIPTION,missing)
+
+ @$(call install_lib, libshout, 0, 0, 0755, libshout)
+
+ @$(call install_finish, libshout)
+
+ @$(call touch)
+
+# vim: syntax=make