summaryrefslogtreecommitdiffstats
path: root/rules/aumix.make
blob: adf221bf5b2c87ddf50487679a29aac846c45900 (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
# -*-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_AUMIX) += aumix

#
# Paths and names
#
AUMIX_VERSION	:= 2.9.1
AUMIX_MD5	:= 34f28ae1c94fc5298e8bb2688c4b3a20
AUMIX		:= aumix-$(AUMIX_VERSION)
AUMIX_SUFFIX	:= tar.bz2
AUMIX_URL	:= $(call ptx/mirror, SF, aumix/$(AUMIX).$(AUMIX_SUFFIX))
AUMIX_SOURCE	:= $(SRCDIR)/$(AUMIX).$(AUMIX_SUFFIX)
AUMIX_DIR	:= $(BUILDDIR)/$(AUMIX)
AUMIX_LICENSE	:= GPL-2.0-only

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

AUMIX_CONF_ENV := \
	$(CROSS_ENV) \
	ac_cv_path_MSGMERGE=:

#
# autoconf
#
AUMIX_CONF_TOOL := autoconf
AUMIX_CONF_OPT := \
	$(CROSS_AUTOCONF_USR) \
	--disable-dummy-mixer \
	--without-gtk \
        --without-gpm \
        --without-sysmouse

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

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

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

	@$(call install_copy, aumix, 0, 0, 0755, -, /usr/bin/aumix)
	@$(call install_tree, aumix, 0, 0, -, /usr/share/aumix)

	@$(call install_finish, aumix)

	@$(call touch)

# vim: syntax=make