3a3f85ac42f606d82be36340ab56f93155f27cff
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / cc-tool / cc-tool.mk
1 ################################################################################
2 #
3 # cc-tool
4 #
5 ################################################################################
6
7 CC_TOOL_VERSION = 0.26
8 CC_TOOL_SITE = http://downloads.sourceforge.net/project/cctool
9 CC_TOOL_SOURCE = cc-tool-$(CC_TOOL_VERSION)-src.tgz
10 CC_TOOL_LICENSE = GPLv2
11 CC_TOOL_LICENSE_FILES = COPYING
12 CC_TOOL_DEPENDENCIES = boost libusb
13
14 # Configure script "discovers" boost in /usr/local if not given explicitly
15 CC_TOOL_CONF_OPTS = --with-boost=$(STAGING_DIR)/usr
16
17 # Help boost.m4 find the Boost Regex library, which needs the pthread
18 # library, but isn't detected using a modern (pkg-config) mechanism.
19 ifeq ($(BR2_STATIC_LIBS),y)
20 CC_TOOL_CONF_ENV += LIBS="-lpthread"
21 endif
22
23 $(eval $(autotools-package))