summaryrefslogtreecommitdiffstats
path: root/rules/setserial.make
blob: cb11d08bd8be812ec6e36227e7409f7f6c9a085c (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
# -*-makefile-*-
#
# Copyright (C) 2005 by BSP
#
# 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_SETSERIAL) += setserial

#
# Paths and names
#
SETSERIAL_VERSION	:= 2.17
SETSERIAL_MD5		:= c4867d72c41564318e0107745eb7a0f2
SETSERIAL		:= setserial-$(SETSERIAL_VERSION)
SETSERIAL_SUFFIX	:= tar.gz
SETSERIAL_URL		:= $(call ptx/mirror, SF, setserial/$(SETSERIAL).$(SETSERIAL_SUFFIX))
SETSERIAL_SOURCE	:= $(SRCDIR)/$(SETSERIAL).$(SETSERIAL_SUFFIX)
SETSERIAL_DIR		:= $(BUILDDIR)/$(SETSERIAL)

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

#
# autoconf
#
SETSERIAL_CONF_TOOL	:= autoconf
SETSERIAL_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR)

SETSERIAL_MAKE_OPT	:= setserial

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

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

	@$(call install_init, setserial)
	@$(call install_fixup, setserial,PRIORITY,optional)
	@$(call install_fixup, setserial,SECTION,base)
	@$(call install_fixup, setserial,AUTHOR,"Benedikt Spranger <b.spranger@linutronix.de>")
	@$(call install_fixup, setserial,DESCRIPTION,missing)

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

	@$(call install_finish, setserial)

	@$(call touch)

# vim: syntax=make