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