start-stop-daemon.mk 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ################################################################################
  2. #
  3. # start-stop-daemon
  4. #
  5. ################################################################################
  6. # Debian start-stop-daemon is part of dpkg. Since start-stop-daemon is the only
  7. # interesting tool in it, we call the buildroot package start-stop-daemon.
  8. START_STOP_DAEMON_VERSION = 1.20.7.1
  9. START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
  10. START_STOP_DAEMON_SITE = https://snapshot.debian.org/archive/debian/20210109T083441Z/pool/main/d/dpkg
  11. START_STOP_DAEMON_CONF_OPTS = \
  12. --disable-dselect \
  13. --disable-update-alternatives \
  14. --disable-install-info \
  15. --exec-prefix=/
  16. START_STOP_DAEMON_CONF_ENV = \
  17. dpkg_cv_va_copy=yes \
  18. dpkg_cv_c99_snprintf=yes \
  19. DPKG_DEVEL_MODE=1
  20. START_STOP_DAEMON_DEPENDENCIES = host-pkgconf
  21. # Patching m4/dpkg-arch.m4
  22. START_STOP_DAEMON_AUTORECONF = YES
  23. START_STOP_DAEMON_LICENSE = GPL-2.0+
  24. START_STOP_DAEMON_LICENSE_FILES = COPYING
  25. define START_STOP_DAEMON_BUILD_CMDS
  26. $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/lib/compat
  27. $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/utils
  28. endef
  29. define START_STOP_DAEMON_INSTALL_TARGET_CMDS
  30. $(INSTALL) -m 0755 -D $(@D)/utils/start-stop-daemon \
  31. $(TARGET_DIR)/sbin/start-stop-daemon
  32. endef
  33. $(eval $(autotools-package))