summaryrefslogtreecommitdiffstats
path: root/package/distcc/distcc.mk
blob: 9e1c669d532f813f66e7b82393006c7a9dd6cedd (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
################################################################################
#
# distcc
#
################################################################################

DISTCC_VERSION = 2.18.3
DISTCC_SOURCE = distcc-$(DISTCC_VERSION).tar.bz2
DISTCC_SITE = http://distcc.googlecode.com/files/
DISTCC_CONF_OPT = --with-included-popt --without-gtk --without-gnome
DISTCC_LICENSE = GPLv2+
DISTCC_LICENSE_FILES = COPYING

define DISTCC_INSTALL_TARGET_CMDS
	install -D $(@D)/distccd $(TARGET_DIR)/usr/bin/distccd
	install -D $(@D)/distcc $(TARGET_DIR)/usr/bin/distcc
endef

define DISTCC_CLEAN_CMDS
	rm -f $(TARGET_DIR)/usr/bin/distcc
	rm -f $(TARGET_DIR)/usr/bin/distccd
	-$(MAKE) -C $(@D) clean
endef

$(eval $(autotools-package))