1 ################################################################################
5 ################################################################################
7 # Debian start-stop-daemon is part of dpkg. Since start-stop-daemon is the only
8 # interesting tool in it, we call the buildroot package start-stop-daemon.
10 START_STOP_DAEMON_VERSION = 1.16.15
11 START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
12 START_STOP_DAEMON_SITE = http://snapshot.debian.org/archive/debian/20140616T044945Z/pool/main/d/dpkg
13 START_STOP_DAEMON_CONF_OPTS = \
15 --disable-update-alternatives \
16 --disable-install-info \
18 START_STOP_DAEMON_CONF_ENV = \
20 dpkg_cv_c99_snprintf=yes
21 START_STOP_DAEMON_DEPENDENCIES = host-pkgconf \
22 $(if $(BR2_PACKAGE_BUSYBOX),busybox)
23 # Patching m4/dpkg-arch.m4
24 START_STOP_DAEMON_AUTORECONF = YES
25 START_STOP_DAEMON_LICENSE = GPLv2+
26 START_STOP_DAEMON_LICENSE_FILES = COPYING
28 define START_STOP_DAEMON_BUILD_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/lib/compat
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/utils
33 define START_STOP_DAEMON_INSTALL_TARGET_CMDS
34 $(INSTALL) -m 0755 -D $(@D)/utils/start-stop-daemon \
35 $(TARGET_DIR)/sbin/start-stop-daemon
38 $(eval $(autotools-package))