summaryrefslogtreecommitdiffstats
path: root/rules/libao.make
blob: 727fc1148762af91dc95a5ba9f34e0b43cde8212 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*-makefile-*-
#
# Copyright (C) 2013 by Marc Kleine-Budde <mkl@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_LIBAO) += libao

#
# Paths and names
#
LIBAO_VERSION	:= 1.1.0
LIBAO_MD5	:= 2b2508c29bc97e4dc218fa162cf883c8
LIBAO		:= libao-$(LIBAO_VERSION)
LIBAO_SUFFIX	:= tar.gz
LIBAO_URL	:= http://downloads.xiph.org/releases/ao/$(LIBAO).$(LIBAO_SUFFIX)
LIBAO_SOURCE	:= $(SRCDIR)/$(LIBAO).$(LIBAO_SUFFIX)
LIBAO_DIR	:= $(BUILDDIR)/$(LIBAO)
LIBAO_LICENSE	:= GPL-2.0-only

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
LIBAO_CONF_TOOL := autoconf
LIBAO_CONF_OPT := \
	$(CROSS_AUTOCONF_USR) \
	--disable-wmm \
	--disable-esd \
	--enable-alsa \
	--enable-alsa-mmap \
	--disable-broken-oss \
	--disable-arts \
	--disable-nas \
	--disable-pulse \
	--without-x

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/libao.targetinstall:
	@$(call targetinfo)

	@$(call install_init, libao)
	@$(call install_fixup, libao,PRIORITY,optional)
	@$(call install_fixup, libao,SECTION,base)
	@$(call install_fixup, libao,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
	@$(call install_fixup, libao,DESCRIPTION,missing)

	@$(call install_lib, libao, 0, 0, 0644, libao)
	@$(call install_lib, libao, 0, 0, 0644, ao/plugins-4/libalsa)

	@$(call install_finish, libao)

	@$(call touch)

# vim: syntax=make