package/libxmlrpc: bump to version 1.39.12
[buildroot-gz.git] / package / logrotate / logrotate.mk
blob14d06937bb4171b650e9c5b5a928a104569bfc2e
1 ################################################################################
3 # logrotate
5 ################################################################################
7 LOGROTATE_VERSION = 3.10.0
8 LOGROTATE_SITE = $(call github,logrotate,logrotate,$(LOGROTATE_VERSION))
9 LOGROTATE_LICENSE = GPLv2+
10 LOGROTATE_LICENSE_FILES = COPYING
11 LOGROTATE_DEPENDENCIES = popt host-pkgconf
12 # tarball does not have a generated configure script
13 LOGROTATE_AUTORECONF = YES
14 LOGROTATE_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs popt`"
15 LOGROTATE_CONF_OPTS = --without-selinux
16 LOGROTATE_PATCH = https://github.com/logrotate/logrotate/commit/6a36c105587b07ad14fc937f3ee6e2eb402621a2.patch
18 ifeq ($(BR2_PACKAGE_ACL),y)
19 LOGROTATE_DEPENDENCIES += acl
20 LOGROTATE_CONF_OPTS += --with-acl
21 else
22 LOGROTATE_CONF_OPTS += --without-acl
23 endif
25 define LOGROTATE_INSTALL_TARGET_CONF
26 $(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf
27 $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
28 endef
29 LOGROTATE_POST_INSTALL_TARGET_HOOKS += LOGROTATE_INSTALL_TARGET_CONF
31 $(eval $(autotools-package))