summaryrefslogtreecommitdiffstats
path: root/rules/setmixer.make
blob: 29bcf90b8aa53ad7cebf785b9ee4e9334602b78f (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
# -*-makefile-*-
#
# Copyright (C) 2003 by Sascha Hauer <sascha.hauer@gyro-net.de>
#           (C) 2010 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_SETMIXER) += setmixer

#
# Paths and names
#
SETMIXER_VERSION	:= 27DEC94ds1
SETMIXER		:= setmixer_$(SETMIXER_VERSION).orig
SETMIXER_SUFFIX		:= tar.gz
SETMIXER_URL		:= $(PTXCONF_SETUP_DEBMIRROR)/pool/main/s/setmixer/$(SETMIXER).$(SETMIXER_SUFFIX)
SETMIXER_SOURCE		:= $(SRCDIR)/$(SETMIXER).$(SETMIXER_SUFFIX)
SETMIXER_DIR		:= $(BUILDDIR)/setmixer-27DEC94ds1.orig


# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

$(SETMIXER_SOURCE):
	@$(call targetinfo)
	@$(call get, SETMIXER)

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

SETMIXER_PATH		:= PATH=$(CROSS_PATH)
SETMIXER_MAKE_ENV	:= $(CROSS_ENV)
SETMIXER_MAKE_OPT	:= CC=$(CROSS_CC)

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

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

	@$(call install_init, setmixer)
	@$(call install_fixup, setmixer,PACKAGE,setmixer)
	@$(call install_fixup, setmixer,PRIORITY,optional)
	@$(call install_fixup, setmixer,VERSION,$(SETMIXER_VERSION))
	@$(call install_fixup, setmixer,SECTION,base)
	@$(call install_fixup, setmixer,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, setmixer,DEPENDS,)
	@$(call install_fixup, setmixer,DESCRIPTION,missing)

	@$(call install_copy, setmixer, 0, 0, 0755, -, /usr/bin/setmixer)

	@$(call install_finish, setmixer)

	@$(call touch)

# vim: syntax=make