Microblaze: added architecture support for both big endian and low endian
[buildroot-gz.git] / package / rsyslog / rsyslog.mk
blobb7576cd5c23f7dd0d0f154902d2bdb012895dae3
1 #############################################################
3 # rsyslog
5 #############################################################
6 RSYSLOG_VERSION = 5.8.0
7 RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog/
8 RSYSLOG_DEPENDENCIES = zlib
10 # Build after Busybox
11 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
12 RSYSLOG_DEPENDENCIES += busybox
13 endif
15 define RSYSLOG_INSTALL_CONF_SCRIPT
16 [ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
17 $(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
18 $(TARGET_DIR)/etc/init.d/S01rsyslog
19 [ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
20 $(INSTALL) -m 0644 -D $(@D)/rsyslog.conf \
21 $(TARGET_DIR)/etc/rsyslog.conf
22 mkdir -p $(TARGET_DIR)/etc/rsyslog.d
23 endef
25 RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF_SCRIPT
27 $(eval $(call AUTOTARGETS))