2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-09-26 09:14:09 +02:00
|
|
|
#
|
|
|
|
# logrotate
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-12-28 03:22:28 +01:00
|
|
|
LOGROTATE_VERSION = 3.8.7
|
2013-06-03 23:17:02 +02:00
|
|
|
LOGROTATE_SITE = https://www.fedorahosted.org/releases/l/o/logrotate/
|
2012-11-13 02:05:49 +01:00
|
|
|
LOGROTATE_LICENSE = GPLv2+
|
|
|
|
LOGROTATE_LICENSE_FILES = COPYING
|
2010-09-26 09:14:09 +02:00
|
|
|
|
|
|
|
LOGROTATE_DEPENDENCIES = popt
|
|
|
|
|
|
|
|
define LOGROTATE_BUILD_CMDS
|
|
|
|
$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS)" LDFLAGS="$(LDFLAGS)" -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LOGROTATE_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) PREFIX=$(TARGET_DIR) -C $(@D) install
|
2009-03-07 21:17:23 +01:00
|
|
|
if [ ! -f $(TARGET_DIR)/etc/logrotate.conf ]; then \
|
|
|
|
$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf; \
|
2009-03-05 20:00:17 +01:00
|
|
|
fi
|
2008-10-06 22:41:12 +02:00
|
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
|
2010-09-26 09:14:09 +02:00
|
|
|
endef
|
2008-10-06 22:41:12 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|