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
|
# -*-makefile-*-
#
# Copyright (C) 2004 by Benedikt Spranger
# 2009 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_ETHERWAKE) += etherwake
#
# Paths and names
#
ETHERWAKE_VERSION := 1.09
ETHERWAKE_MD5 := 628e8b2a28d47f262e4c26c989402a59
ETHERWAKE_SUFFIX := tar.gz
ETHERWAKE := etherwake-$(ETHERWAKE_VERSION).orig
ETHERWAKE_TARBALL := etherwake_$(ETHERWAKE_VERSION).orig.$(ETHERWAKE_SUFFIX)
ETHERWAKE_URL := $(call ptx/mirror, DEB, pool/main/e/etherwake/$(ETHERWAKE_TARBALL))
ETHERWAKE_SOURCE := $(SRCDIR)/$(ETHERWAKE_TARBALL)
ETHERWAKE_DIR := $(BUILDDIR)/$(ETHERWAKE)
ETHERWAKE_LICENSE := GPL
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
ETHERWAKE_PATH := PATH=$(CROSS_PATH)
ETHERWAKE_ENV := $(CROSS_ENV)
ETHERWAKE_MAKEVARS := CC=$(CROSS_CC)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/etherwake.targetinstall:
@$(call targetinfo)
@$(call install_init, etherwake)
@$(call install_fixup, etherwake,PRIORITY,optional)
@$(call install_fixup, etherwake,SECTION,base)
@$(call install_fixup, etherwake,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, etherwake,DESCRIPTION,missing)
@$(call install_copy, etherwake, 0, 0, 0755, -, /usr/sbin/etherwake)
@$(call install_finish, etherwake)
@$(call touch)
# vim: syntax=make
|