summaryrefslogtreecommitdiffstats
path: root/rules/libtremor.make
blob: 9d2c509395f6788c9ce7343bc52c7e6654dcc6c1 (plain)
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
# -*-makefile-*-
#
# Copyright (C) 2013 by Markus Pargmann <mpa@pengutronix.de>
#
# 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

ifdef PTXCONF_ARCH_ARM
LIBTREMOR_CFLAGS := -Wa,-mimplicit-it=thumb
endif

# ----------------------------------------------------------------------------
# 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