summaryrefslogtreecommitdiffstats
path: root/rules/memedit.make
blob: 378c97c7cf287e0b2e38110c34b05f3a291e4999 (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
# -*-makefile-*-
#
# Copyright (C) 2004 by Robert Schwebel
#               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_MEMEDIT) += memedit

#
# Paths and names
#
MEMEDIT_VERSION	:= 0.9
MEMEDIT_MD5	:= fd8eb827c3072baf8678d9d33e5d6458
MEMEDIT_LICENSE	:= GPL-2.0
MEMEDIT		:= memedit-$(MEMEDIT_VERSION)
MEMEDIT_SUFFIX	:= tar.gz
MEMEDIT_URL	:= http://www.pengutronix.de/software/memedit/downloads/$(MEMEDIT).$(MEMEDIT_SUFFIX)
MEMEDIT_SOURCE	:= $(SRCDIR)/$(MEMEDIT).$(MEMEDIT_SUFFIX)
MEMEDIT_DIR	:= $(BUILDDIR)/$(MEMEDIT)


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

MEMEDIT_PATH	:= PATH=$(CROSS_PATH)
MEMEDIT_ENV 	:= $(CROSS_ENV)

#
# autoconf
#
MEMEDIT_AUTOCONF := $(CROSS_AUTOCONF_USR)

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

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

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

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

	@$(call install_finish, memedit)

	@$(call touch)

# vim: syntax=make