diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2013-11-25 16:02:18 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-12-03 10:08:17 +0100 |
commit | 54ed711a7d5d22208711ea7d961ac86b0d239960 (patch) | |
tree | db74992eb059517c695235228cb3ac497d7d7b17 /rules/libtremor.make | |
parent | 668c3e0634ab68c7fdccff1fe9ca1bf546a4ce87 (diff) | |
download | ptxdist-54ed711a7d5d22208711ea7d961ac86b0d239960.tar.gz ptxdist-54ed711a7d5d22208711ea7d961ac86b0d239960.tar.xz |
libtremor: add new package
libtremor is a software library that decodes the Vorbis audio format in
fixed-point only for those platforms without floating point operations.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libtremor.make')
-rw-r--r-- | rules/libtremor.make | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/rules/libtremor.make b/rules/libtremor.make new file mode 100644 index 000000000..7889d5664 --- /dev/null +++ b/rules/libtremor.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Markus Pargmann <mpa@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_LIBTREMOR) += libtremor + +LIBTREMOR_VERSION := 1.0.3 +LIBTREMOR_MD5 := 31074f67ca36a3f8e6c8225c9126cde0 +LIBTREMOR := libtremor-$(LIBTREMOR_VERSION) +LIBTREMOR_SUFFIX := tar.gz +LIBTREMOR_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(LIBTREMOR).$(LIBTREMOR_SUFFIX) +LIBTREMOR_SOURCE := $(SRCDIR)/$(LIBTREMOR).$(LIBTREMOR_SUFFIX) +LIBTREMOR_DIR := $(BUILDDIR)/$(LIBTREMOR) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBTREMOR_CONF_TOOL := autoconf +LIBTREMOR_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-static + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libtremor.targetinstall: + @$(call targetinfo) + + @$(call install_init, libtremor) + @$(call install_fixup, libtremor,PRIORITY,optional) + @$(call install_fixup, libtremor,SECTION,base) + @$(call install_fixup, libtremor,AUTHOR,"Markus Pargmann <mpa@pengutronix.de>") + @$(call install_fixup, libtremor,DESCRIPTION,missing) + + @$(call install_lib, libtremor, 0, 0, 0644, libvorbisidec) + + @$(call install_finish, libtremor) + + @$(call touch) + +# vim: syntax=make |