1 #############################################################
5 #############################################################
6 RAIDTOOLS2_SOURCE
:=raidtools2-1.00
.3.
tar.gz
8 RAIDTOOLS2_DIR
:=$(BUILD_DIR
)/raidtools2-1.00
.3
10 RAIDTOOLS2_BINARY
:=mkraid
11 RAIDTOOLS2_TARGET_BINARY
:=sbin
/mkraid
13 $(DL_DIR
)/$(RAIDTOOLS2_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(RAIDTOOLS2_SITE
)/$(RAIDTOOLS2_SOURCE
)
16 raidtools2-source
: $(DL_DIR
)/$(RAIDTOOLS2_SOURCE
)
18 $(RAIDTOOLS2_DIR
)/.unpacked
: $(DL_DIR
)/$(RAIDTOOLS2_SOURCE
)
19 $(RAIDTOOLS2_CAT
) $(DL_DIR
)/$(RAIDTOOLS2_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(RAIDTOOLS2_DIR
)/.unpacked
22 $(RAIDTOOLS2_DIR
)/.configured
: $(RAIDTOOLS2_DIR
)/.unpacked
23 (cd
$(RAIDTOOLS2_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) \
26 --target
=$(GNU_TARGET_NAME
) \
27 --host
=$(GNU_TARGET_NAME
) \
28 --build
=$(GNU_HOST_NAME
) \
33 --libexecdir
=/usr
/lib \
35 --datadir=/usr
/share
/misc \
36 --localstatedir
=/var \
42 touch
$(RAIDTOOLS2_DIR
)/.configured
44 $(RAIDTOOLS2_DIR
)/$(RAIDTOOLS2_BINARY
): $(RAIDTOOLS2_DIR
)/.configured
45 $(MAKE
) CC
=$(TARGET_CC
) -C
$(RAIDTOOLS2_DIR
)
47 $(TARGET_DIR
)/$(RAIDTOOLS2_TARGET_BINARY
): $(RAIDTOOLS2_DIR
)/$(RAIDTOOLS2_BINARY
)
48 $(MAKE
) ROOTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(RAIDTOOLS2_DIR
) install
49 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
50 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
52 raidtools2
: zlib uclibc
$(TARGET_DIR
)/$(RAIDTOOLS2_TARGET_BINARY
)
55 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(RAIDTOOLS2_DIR
) uninstall
56 -$(MAKE
) -C
$(RAIDTOOLS2_DIR
) clean
59 rm -rf
$(RAIDTOOLS2_DIR
)
This page took 0.046964 seconds and 5 git commands to generate.