The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / logrotate / logrotate.mk
1 ################################################################################
2 #
3 # logrotate
4 #
5 ################################################################################
6
7 LOGROTATE_VERSION = 3.8.9
8 LOGROTATE_SITE = https://www.fedorahosted.org/releases/l/o/logrotate
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="$(shell $(PKG_CONFIG_HOST_BINARY) --libs popt)"
15 LOGROTATE_CONF_OPTS = --without-selinux
16
17 ifeq ($(BR2_PACKAGE_ACL),y)
18 LOGROTATE_DEPENDENCIES += acl
19 LOGROTATE_CONF_OPTS += --with-acl
20 else
21 LOGROTATE_CONF_OPTS += --without-acl
22 endif
23
24 define LOGROTATE_INSTALL_TARGET_CONF
25         $(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf
26         $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
27 endef
28 LOGROTATE_POST_INSTALL_TARGET_HOOKS += LOGROTATE_INSTALL_TARGET_CONF
29
30 $(eval $(autotools-package))