sysklogd: install configuration file unconditionally
[buildroot-gz.git] / package / sysklogd / sysklogd.mk
blob1e8652d1a56f76d254be713b1ae502eb75bb1885
1 ################################################################################
3 # sysklogd
5 ################################################################################
7 SYSKLOGD_VERSION = 1.5.1
8 SYSKLOGD_SITE = http://www.infodrom.org/projects/sysklogd/download
9 SYSKLOGD_LICENSE = GPLv2+
10 SYSKLOGD_LICENSE_FILES = COPYING
12 # Override BusyBox implementations if BusyBox is enabled.
13 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
14 SYSKLOGD_DEPENDENCIES = busybox
15 endif
17 define SYSKLOGD_BUILD_CMDS
18 $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
19 endef
21 define SYSKLOGD_INSTALL_TARGET_CMDS
22 $(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
23 $(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
24 $(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
25 $(TARGET_DIR)/etc/syslog.conf; \
26 endef
28 define SYSKLOGD_INSTALL_INIT_SYSV
29 $(INSTALL) -m 755 -D package/sysklogd/S01logging \
30 $(TARGET_DIR)/etc/init.d/S01logging
31 endef
33 $(eval $(generic-package))