summaryrefslogtreecommitdiffstats
path: root/rules/host-system-bc.make
blob: 0abace09ea355de4f62520409dbd4235af1a6845 (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
# -*-makefile-*-
#
# Copyright (C) 2017 by Markus Niebel <Markus Niebel@tq-group.com>
#
# 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_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