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