summaryrefslogtreecommitdiffstats
path: root/rules/host-system-bc.make
blob: f95c669cb3297f6666a8affb7035cfdd88644147 (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
# -*-makefile-*-
#
# Copyright (C) 2017 by Markus Niebel <Markus Niebel@tq-group.com>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_BC) += host-system-bc
HOST_SYSTEM_BC_LICENSE := ignore

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

$(STATEDIR)/host-system-bc.prepare:
	@$(call targetinfo)
	@echo "Checking for bc ..."
	@bc --version >/dev/null 2>&1 || \
		ptxd_bailout "'bc' not found! Please install.";
	@$(call touch)

# vim: syntax=make