kumquat-buildroot/package/sysklogd/sysklogd.mk
Baruch Siach 3df3fe717f sysklogd: fix redundant newline escape
Broken since 428f1e7e70 (sysklogd: install configuration file
unconditionally). Fixes:

package/sysklogd/sysklogd.mk:21: *** missing 'endef', unterminated 'define'.  Stop.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-02 09:43:21 +01:00

34 lines
947 B
Makefile

################################################################################
#
# sysklogd
#
################################################################################
SYSKLOGD_VERSION = 1.5.1
SYSKLOGD_SITE = http://www.infodrom.org/projects/sysklogd/download
SYSKLOGD_LICENSE = GPLv2+
SYSKLOGD_LICENSE_FILES = COPYING
# Override BusyBox implementations if BusyBox is enabled.
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
SYSKLOGD_DEPENDENCIES = busybox
endif
define SYSKLOGD_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define SYSKLOGD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
$(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
$(TARGET_DIR)/etc/syslog.conf
endef
define SYSKLOGD_INSTALL_INIT_SYSV
$(INSTALL) -m 755 -D package/sysklogd/S01logging \
$(TARGET_DIR)/etc/init.d/S01logging
endef
$(eval $(generic-package))