1 ################################################################################
5 ################################################################################
7 LOG4CPP_VERSION_MAJOR
= 1.1
8 LOG4CPP_VERSION
= $(LOG4CPP_VERSION_MAJOR
).1
9 LOG4CPP_SITE
= http
://downloads.sourceforge.net
/project
/log4cpp
/log4cpp-1.1.x
%20%28new
%29/log4cpp-
$(LOG4CPP_VERSION_MAJOR
)
10 LOG4CPP_SUBDIR
= log4cpp
11 # The "or later" is indicated in the HTML documentation
12 LOG4CPP_LICENSE
= LGPLv2.1
+
13 LOG4CPP_LICENSE_FILES
= log4cpp
/COPYING
14 LOG4CPP_INSTALL_STAGING
= YES
15 LOG4CPP_CONF_OPTS
= --enable-doxygen
=no
--enable-dot
=no
17 # The default <pkg>_CONFIG_SCRIPTS handling does not apply
18 define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
19 $(SED
) 's,prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
20 -e
's,exec_prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
21 $(STAGING_DIR
)/usr
/bin
/log4cpp-config
24 LOG4CPP_POST_INSTALL_STAGING_HOOKS
+= LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
26 define LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
27 $(RM
) $(TARGET_DIR
)/usr
/bin
/log4cpp-config
30 LOG4CPP_POST_INSTALL_TARGET_HOOKS
+= LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
32 $(eval
$(autotools-package
))