aboutsummaryrefslogtreecommitdiff
path: root/package/dmraid/dmraid.mk
blob: 067df0bb39d6da4b41d4c70bc9fb217803449d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
#
# dmraid
#
################################################################################

DMRAID_VERSION = 1.0.0.rc15
DMRAID_SOURCE = dmraid-$(DMRAID_VERSION).tar.bz2
DMRAID_SITE = http://people.redhat.com/~heinzm/sw/dmraid/src
DMRAID_SUBDIR = $(DMRAID_VERSION)
# 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_INITSCRIPT
	$(INSTALL) -m 0755 package/dmraid/dmraid.init $(TARGET_DIR)/etc/init.d/S20dmraid
endef

DMRAID_POST_INSTALL_TARGET_HOOKS += DMRAID_INSTALL_INITSCRIPT

$(eval $(autotools-package))