3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=86193dfa62137db3ea459543db4f1102
9 PKG_SOURCE_URL
:=@SF
/dhcpv6-linux
10 PKG_SOURCE
:=dhcpv6-linux-
$(PKG_VERSION
).zip
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,DHCP6
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) CC
=$(TARGET_CC
) STAGING_DIR
=$(STAGING_DIR
) -C
$(PKG_BUILD_DIR
)/server
25 $(MAKE
) CC
=$(TARGET_CC
) STAGING_DIR
=$(STAGING_DIR
) -C
$(PKG_BUILD_DIR
)/client
26 install -d
$(PKG_INSTALL_DIR
)/usr
/sbin
$(PKG_INSTALL_DIR
)/etc
/dhcp
{d6
,6}
27 install -m0755
$(PKG_BUILD_DIR
)/client
/cli
$(PKG_INSTALL_DIR
)/usr
/sbin
/dhcp6client
28 install -m0755
$(PKG_BUILD_DIR
)/server
/serv
$(PKG_INSTALL_DIR
)/usr
/sbin
/dhcpd6
29 install -m0755
$(PKG_BUILD_DIR
)/server
/*.conf
$(PKG_INSTALL_DIR
)/etc
/dhcpd6
/
30 install -m0755
$(PKG_BUILD_DIR
)/client
/*.conf
$(PKG_INSTALL_DIR
)/etc
/dhcp6
/
34 mkdir
-p
$(IDIR_DHCP6
)
35 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_DHCP6
)/
36 $(RSTRIP
) $(IDIR_DHCP6
)
37 $(IPKG_BUILD
) $(IDIR_DHCP6
) $(PACKAGE_DIR
)