bf20a49d4c
We don't need the documentation on target. Also fixes: http://autobuild.buildroot.net/results/402/402587fe3ba9d537195ba470cf6f19f25ac246bf/ http://autobuild.buildroot.net/results/ea2/ea257496f51665b0a6b03f31e50744761c5d43da/ http://autobuild.buildroot.net/results/353/3533a32a7de7dae288558f43eb2b068081939e4d/ and many more. Cc: Damien Lanson <damien@kal-host.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
1.2 KiB
Makefile
Executable File
34 lines
1.2 KiB
Makefile
Executable File
################################################################################
|
|
#
|
|
# log4cpp
|
|
#
|
|
################################################################################
|
|
|
|
LOG4CPP_VERSION_MAJOR = 1.1
|
|
LOG4CPP_VERSION = $(LOG4CPP_VERSION_MAJOR).1
|
|
LOG4CPP_SOURCE = log4cpp-$(LOG4CPP_VERSION).tar.gz
|
|
LOG4CPP_SITE = http://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-$(LOG4CPP_VERSION_MAJOR)
|
|
LOG4CPP_SUBDIR = log4cpp
|
|
# The "or later" is indicated in the HTML documentation
|
|
LOG4CPP_LICENSE = LGPLv2.1+
|
|
LOG4CPP_LICENSE_FILES = log4cpp/COPYING
|
|
LOG4CPP_INSTALL_STAGING = YES
|
|
LOG4CPP_CONF_OPTS = --enable-doxygen=no --enable-dot=no
|
|
|
|
# The default <pkg>_CONFIG_SCRIPTS handling does not apply
|
|
define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
|
|
$(SED) 's,prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
|
|
-e 's,exec_prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
|
|
$(STAGING_DIR)/usr/bin/log4cpp-config
|
|
endef
|
|
|
|
LOG4CPP_POST_INSTALL_STAGING_HOOKS += LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
|
|
|
|
define LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
|
|
$(RM) $(TARGET_DIR)/usr/bin/log4cpp-config
|
|
endef
|
|
|
|
LOG4CPP_POST_INSTALL_TARGET_HOOKS += LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
|
|
|
|
$(eval $(autotools-package))
|