1 #############################################################
5 #############################################################
7 RADVD_SOURCE
:=radvd-
$(RADVD_VERSION
).
tar.gz
8 RADVD_SITE
:=http
://v6web.litech.org
/radvd
/dist
9 RADVD_DIR
:=$(BUILD_DIR
)/radvd-
$(RADVD_VERSION
)
10 RADVD_IPK
=$(BUILD_DIR
)/radvd_0.7
.2-1_mipsel.ipk
11 RADVD_IPK_DIR
:=$(BUILD_DIR
)/radvd-0.7
.2-ipk
13 $(DL_DIR
)/$(RADVD_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(RADVD_SITE
)/$(RADVD_SOURCE
)
16 radvd-source
: $(DL_DIR
)/$(RADVD_SOURCE
)
18 $(RADVD_DIR
)/.unpacked
: $(DL_DIR
)/$(RADVD_SOURCE
)
19 tar -C
$(BUILD_DIR
) -zxf
$(DL_DIR
)/$(RADVD_SOURCE
)
20 touch
$(RADVD_DIR
)/.unpacked
22 $(RADVD_DIR
)/.configured
: $(RADVD_DIR
)/.unpacked
23 (cd
$(RADVD_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS)" \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
31 --with-logfile
=/tmp
/radvd.log \
32 --with-pidfile
=/tmp
/run
/radvd.pid \
33 --with-configfile
=/etc
/radvd.conf \
35 touch
$(RADVD_DIR
)/.configured
37 $(RADVD_DIR
)/radvd
: $(RADVD_DIR
)/.configured
38 cp
$(FLEX_DIR
)/libfl.a
$(RADVD_DIR
)/libfl.a
39 $(MAKE
) $(TARGET_CONFIGURE_OPTS
) LD
=$(TARGET_CC
) LDFLAGS
=-L.
-C
$(RADVD_DIR
)
41 $(RADVD_IPK
): $(RADVD_DIR
)/radvd
42 mkdir
-p
$(RADVD_IPK_DIR
)/CONTROL
$(RADVD_IPK_DIR
)/etc
$(RADVD_IPK_DIR
)/usr
/sbin
43 install -m
644 $(OPENWRT_IPK_DIR
)/radvd
/CONTROL
/control
$(RADVD_IPK_DIR
)/CONTROL
/control
44 install -m
755 $(OPENWRT_IPK_DIR
)/radvd
/CONTROL
/postinst
$(RADVD_IPK_DIR
)/CONTROL
/postinst
45 install -m
644 $(OPENWRT_IPK_DIR
)/radvd
/radvd.conf.example
$(RADVD_IPK_DIR
)/etc
/radvd.conf.example
46 install -m
755 $(RADVD_DIR
)/radvd
$(RADVD_IPK_DIR
)/usr
/sbin
/
47 install -m
755 $(RADVD_DIR
)/radvdump
$(RADVD_IPK_DIR
)/usr
/sbin
/
48 $(STRIP
) $(RADVD_IPK_DIR
)/usr
/sbin
/radvd
49 $(STRIP
) $(RADVD_IPK_DIR
)/usr
/sbin
/radvdump
50 cd
$(BUILD_DIR
); $(IPKG_BUILD
) $(RADVD_IPK_DIR
)
52 radvd-ipk
: uclibc
$(FLEX_DIR
)/$(FLEX_BINARY
) $(RADVD_IPK
)
55 -$(MAKE
) -C
$(RADVD_DIR
) clean
58 rm -rf
$(RADVD_DIR
) $(RADVD_IPK_DIR
)
This page took 0.048046 seconds and 5 git commands to generate.