summaryrefslogtreecommitdiffstats
path: root/rules/gmake.make
blob: 791ffc4b3566a7dc7e99fef4c9146ead523ee9c3 (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
# -*-makefile-*-
#
# Copyright (C) 2008 by Robert Schwebel
#
# 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_GMAKE) += gmake

#
# Paths and names
#
GMAKE_VERSION	:= 3.81
GMAKE_MD5	:= 354853e0b2da90c527e35aabb8d6f1e6
GMAKE		:= make-$(GMAKE_VERSION)
GMAKE_SUFFIX	:= tar.bz2
GMAKE_URL	:= $(call ptx/mirror, GNU, make/$(GMAKE).$(GMAKE_SUFFIX))
GMAKE_SOURCE	:= $(SRCDIR)/$(GMAKE).$(GMAKE_SUFFIX)
GMAKE_DIR	:= $(BUILDDIR)/$(GMAKE)

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

GMAKE_PATH	:= PATH=$(CROSS_PATH)
GMAKE_ENV 	:= $(CROSS_ENV)

#
# autoconf
#
GMAKE_AUTOCONF := \
	$(CROSS_AUTOCONF_USR) \
	--disable-nls \
	--disable-rpath \
	--without-libintl-prefix

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

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

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

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

	@$(call install_finish, gmake)

	@$(call touch)

# vim: syntax=make