buildrootschalter/package/distcc/distcc.mk
cmchao 8397a4ca1b distcc : convert to autotools infrastructure & bump to 1.1-20100428
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Target installation is the default behaviour
     * No installation to staging is the default behaviour
     * Remove DISTCC_BINARY/DISTCC_TARGET_BINARY variables

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:06 +02:00

24 lines
652 B
Makefile

#############################################################
#
# distcc
#
#############################################################
DISTCC_VERSION:=2.18.3
DISTCC_SOURCE:=distcc-$(DISTCC_VERSION).tar.bz2
DISTCC_SITE:=http://distcc.samba.org/ftp/distcc/
DISTCC_CONF_OPT = --with-included-popt --without-gtk --without-gnome
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 $(call AUTOTARGETS,package,distcc))