summaryrefslogtreecommitdiffstats
path: root/rules/host-ckermit.make
blob: 54a1e0ae52c2ff4ed3fb7db44ab3bb6f2ce6f564 (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
# -*-makefile-*-
#
# Copyright (C) 2008 by Wolfram Sang
#
# 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
#
HOST_PACKAGES-$(PTXCONF_HOST_CKERMIT) += host-ckermit

#
# Paths and names
#
HOST_CKERMIT_DIR		= $(HOST_BUILDDIR)/$(CKERMIT)
HOST_CKERMIT_MAKE_OPT		:= linuxnc
HOST_CKERMIT_INSTALL_OPT	:= install prefix=

# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------

$(STATEDIR)/host-ckermit.extract:
	@$(call targetinfo)
	@$(call clean, $(HOST_CKERMIT_DIR))
	mkdir -p $(HOST_CKERMIT_DIR)
	@$(call extract, CKERMIT, $(HOST_CKERMIT_DIR))
	@$(call patchin, CKERMIT, $(HOST_CKERMIT_DIR))
	@$(call touch)

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

HOST_CKERMIT_PATH	:= PATH=$(HOST_PATH)
HOST_CKERMIT_ENV 	:= $(HOST_ENV)

$(STATEDIR)/host-ckermit.prepare:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-ckermit.install:
	@$(call targetinfo)
	@$(call install, HOST_CKERMIT)
	@ln -sf kermit $(HOST_CKERMIT_PKGDIR)/bin/ckermit
	@$(call touch)

# vim: syntax=make