kumquat-buildroot/package/start-stop-daemon/start-stop-daemon.mk
Gustavo Zacarias b6b0c22096 start-stop-daemon: new package
We don't use the 1.17.x series because it has issues when
cross-compiling.

[Thomas:
  - change license to GPLv2+, and the license file to COPYING. While
    start-stop-daemon.c itself is under the Public Domain, the compat
    library against which it is linked is GPLv2+.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-12 23:02:40 +01:00

37 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.16.15
START_STOP_DAEMON_SOURCE = dpkg_$(START_STOP_DAEMON_VERSION).tar.xz
START_STOP_DAEMON_SITE = http://snapshot.debian.org/archive/debian/20140616T044945Z/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
START_STOP_DAEMON_DEPENDENCIES = host-pkgconf \
$(if $(BR2_PACKAGE_BUSYBOX),busybox)
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))