toolchain/external: bump Linaro ARMeb to 2016.05 for i686 hosts
[buildroot-gz.git] / package / sysklogd / sysklogd.mk
blob49997d4f23501cd1a3eaae56b48cfd01b7c65920
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 # Override SKFLAGS which is used as CFLAGS.
18 define SYSKLOGD_BUILD_CMDS
19 $(MAKE) $(TARGET_CONFIGURE_OPTS) SKFLAGS="$(TARGET_CFLAGS) -DSYSV" \
20 -C $(@D)
21 endef
23 define SYSKLOGD_INSTALL_TARGET_CMDS
24 $(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
25 $(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
26 $(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
27 $(TARGET_DIR)/etc/syslog.conf
28 endef
30 define SYSKLOGD_INSTALL_INIT_SYSV
31 $(INSTALL) -m 755 -D package/sysklogd/S01logging \
32 $(TARGET_DIR)/etc/init.d/S01logging
33 endef
35 $(eval $(generic-package))