2014-11-27 18:00:30 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# start-stop-daemon
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Debian start-stop-daemon is part of dpkg. Since start-stop-daemon is the only
|
|
|
|
# interesting tool in it, we call the buildroot package start-stop-daemon.
|
|
|
|
|
2015-12-28 13:35:40 +01:00
|
|
|
START_STOP_DAEMON_VERSION = 1.18.4
|
2014-11-27 18:00:30 +01:00
|
|
|
START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
|
2015-12-28 13:35:40 +01:00
|
|
|
START_STOP_DAEMON_SITE = http://snapshot.debian.org/archive/debian/20151225T154922Z/pool/main/d/dpkg
|
2014-11-27 18:00:30 +01:00
|
|
|
START_STOP_DAEMON_CONF_OPTS = \
|
|
|
|
--disable-dselect \
|
|
|
|
--disable-update-alternatives \
|
|
|
|
--disable-install-info \
|
|
|
|
--exec-prefix=/
|
|
|
|
START_STOP_DAEMON_CONF_ENV = \
|
|
|
|
dpkg_cv_va_copy=yes \
|
2015-12-20 22:03:04 +01:00
|
|
|
dpkg_cv_c99_snprintf=yes \
|
|
|
|
DPKG_DEVEL_MODE=1
|
2014-11-27 18:00:30 +01:00
|
|
|
START_STOP_DAEMON_DEPENDENCIES = host-pkgconf \
|
|
|
|
$(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
2015-01-16 06:10:33 +01:00
|
|
|
# Patching m4/dpkg-arch.m4
|
|
|
|
START_STOP_DAEMON_AUTORECONF = YES
|
2014-11-27 18:00:30 +01:00
|
|
|
START_STOP_DAEMON_LICENSE = GPLv2+
|
|
|
|
START_STOP_DAEMON_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define START_STOP_DAEMON_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/lib/compat
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/utils
|
|
|
|
endef
|
|
|
|
|
|
|
|
define START_STOP_DAEMON_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/utils/start-stop-daemon \
|
|
|
|
$(TARGET_DIR)/sbin/start-stop-daemon
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|