57f2b8d255
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
860 B
Makefile
27 lines
860 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_OPTS = DESTDIR=$(TARGET_DIR) install
|
|
DMRAID_LICENSE = GPLv2
|
|
DMRAID_LICENSE_FILES = $(DMRAID_SUBDIR)/LICENSE_GPL $(DMRAID_SUBDIR)/LICENSE
|
|
|
|
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))
|