summaryrefslogtreecommitdiffstats
path: root/rules/arm-memspeed.make
blob: 62b2c90640bfc132b109fceede1a20629430bb3b (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
# -*-makefile-*-
#
# Copyright (C) 2011 by Juergen Beisert <juergen@kreuzholzen.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_ARCH_ARM)-$(PTXCONF_ARM_MEMSPEED) += arm-memspeed

#
# Paths and names
#
ARM_MEMSPEED_VERSION	:= 1.0
ARM_MEMSPEED_MD5	:= daf1824f1d1f0a6dd8021cc825b2a8b3
ARM_MEMSPEED		:= arm-memspeed-$(ARM_MEMSPEED_VERSION)
ARM_MEMSPEED_SUFFIX	:= tar.bz2
ARM_MEMSPEED_URL	:= http://www.kreuzholzen.de/src/arm-memspeed/$(ARM_MEMSPEED).$(ARM_MEMSPEED_SUFFIX)
ARM_MEMSPEED_SOURCE	:= $(SRCDIR)/$(ARM_MEMSPEED).$(ARM_MEMSPEED_SUFFIX)
ARM_MEMSPEED_DIR	:= $(BUILDDIR)/$(ARM_MEMSPEED)
ARM_MEMSPEED_LICENSE	:= GPL-2.0-only

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
ARM_MEMSPEED_CONF_TOOL	:= autoconf

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

$(STATEDIR)/arm-memspeed.targetinstall:
	@$(call targetinfo)

	@$(call install_init, arm-memspeed)
	@$(call install_fixup, arm-memspeed,PRIORITY,optional)
	@$(call install_fixup, arm-memspeed,SECTION,base)
	@$(call install_fixup, arm-memspeed,AUTHOR,"Juergen Beisert <juergen@kreuzholzen.de>")
	@$(call install_fixup, arm-memspeed,DESCRIPTION, "Memory bandwidth measurement tool")

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

	@$(call install_finish, arm-memspeed)

	@$(call touch)

# vim: syntax=make