kumquat-buildroot/package/start-stop-daemon/start-stop-daemon.mk
Peter Seiderer b58b310ec4 package/start-stop-daemon: bump version to 1.20.7.1
- rebased 0001-add-uclibc-alias-and-musl.patch
- rebased 0002-just-warn-on-missing-arch.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-03-30 22:24:50 +02:00

39 lines
1.2 KiB
Makefile

################################################################################
#
# 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.
START_STOP_DAEMON_VERSION = 1.20.7.1
START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
START_STOP_DAEMON_SITE = https://snapshot.debian.org/archive/debian/20210109T083441Z/pool/main/d/dpkg
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 \
dpkg_cv_c99_snprintf=yes \
DPKG_DEVEL_MODE=1
START_STOP_DAEMON_DEPENDENCIES = host-pkgconf
# Patching m4/dpkg-arch.m4
START_STOP_DAEMON_AUTORECONF = YES
START_STOP_DAEMON_LICENSE = GPL-2.0+
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))