kumquat-buildroot/package/dmraid/dmraid.mk
Maxime Hadjinlian 5c06c05a4a dmraid: rename init script and use FOO_INSTALL_INIT_SYSV
This commit fixes the init script to use the correct
FOO_INSTALL_INIT_SYSV hook.

[Thomas: slightly reword commit log.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-02 16:30:48 +01:00

25 lines
759 B
Makefile

################################################################################
#
# dmraid
#
################################################################################
DMRAID_VERSION = 1.0.0.rc16-3
DMRAID_SOURCE = dmraid-$(DMRAID_VERSION).tar.bz2
DMRAID_SITE = http://people.redhat.com/~heinzm/sw/dmraid/src
DMRAID_SUBDIR = $(DMRAID_VERSION)/dmraid
# lib and tools race with parallel make
DMRAID_MAKE = $(MAKE1)
DMRAID_INSTALL_STAGING = YES
DMRAID_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
DMRAID_DEPENDENCIES = lvm2
define DMRAID_INSTALL_INIT_SYSV
[ -f $(TARGET_DIR)/etc/init.d/S20dmraid ] || \
$(INSTALL) -D -m 0755 package/dmraid/S20dmraid \
$(TARGET_DIR)/etc/init.d/S20dmraid
endef
$(eval $(autotools-package))