1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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
|