1 #############################################################
6 #############################################################
7 MROUTED_SOURCE
:=mrouted_3.9
-beta3.orig.
tar.gz
8 MROUTED_SITE
:=http
://ftp.debian.org
/debian
/pool
/non-free
/m
/mrouted
9 MROUTED_DIR
:=$(BUILD_DIR
)/mrouted-3.9
-beta3.orig
11 #MROUTED_PATCH:=$(SOURCE_DIR)/mrouted_3.9-beta3-1.1.diff
12 MROUTED_PATCH
:=mrouted_3.9
-beta3-1.1.diff.gz
13 MROUTED_BINARY
:=mrouted
14 MROUTED_TARGET_BINARY
:=usr
/sbin
/mrouted
16 $(DL_DIR
)/$(MROUTED_SOURCE
):
17 $(WGET
) -P
$(DL_DIR
) $(MROUTED_SITE
)/$(MROUTED_SOURCE
)
19 $(DL_DIR
)/$(MROUTED_PATCH
):
20 $(WGET
) -P
$(DL_DIR
) $(MROUTED_SITE
)/$(MROUTED_PATCH
)
22 mrouted-source
: $(DL_DIR
)/$(MROUTED_SOURCE
) $(DL_DIR
)/$(MROUTED_PATCH
)
24 $(MROUTED_DIR
)/.unpacked
: mrouted-source
25 $(MROUTED_CAT
) $(DL_DIR
)/$(MROUTED_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
26 $(MROUTED_CAT
) $(DL_DIR
)/$(MROUTED_PATCH
) | patch
-p1
-d
$(MROUTED_DIR
)
27 $(SOURCE_DIR
)/patch-kernel.sh
$(MROUTED_DIR
) $(SOURCE_DIR
) mrouted-
*.patch
28 touch
$(MROUTED_DIR
)/.unpacked
30 $(MROUTED_DIR
)/$(MROUTED_BINARY
): $(MROUTED_DIR
)/.unpacked
31 $(TARGET_CONFIGURE_OPTS
) \
32 $(MAKE
) CC
=$(TARGET_CC
) -C
$(MROUTED_DIR
)
34 $(TARGET_DIR
)/$(MROUTED_TARGET_BINARY
): $(MROUTED_DIR
)/$(MROUTED_BINARY
)
35 cp
-a
$(MROUTED_DIR
)/$(MROUTED_BINARY
) $(TARGET_DIR
)/$(MROUTED_TARGET_BINARY
)
37 mrouted
: uclibc
$(TARGET_DIR
)/$(MROUTED_TARGET_BINARY
)
40 rm -f
$(TARGET_DIR
)/$(MROUTED_TARGET_BINARY
)
41 -$(MAKE
) -C
$(MROUTED_DIR
) clean
This page took 0.046004 seconds and 5 git commands to generate.