1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=2a0ee2a3678160c335f1d68c17c4f871
7 PKG_SOURCE_URL
:=@SF
/L2TPNS
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
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
,L2TPNS
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
21 $(PKG_BUILD_DIR
)/.built
:
22 $(MAKE
) CC
=$(TARGET_CC
) LD
=$(TARGET_CC
) DESTDIR
=$(PKG_INSTALL_DIR
) STAGING_DIR
=$(STAGING_DIR
) -C
$(PKG_BUILD_DIR
) install
26 mkdir
-p
$(IDIR_L2TPNS
)
27 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_L2TPNS
)/
28 $(RSTRIP
) $(IDIR_L2TPNS
)
29 $(IPKG_BUILD
) $(IDIR_L2TPNS
) $(PACKAGE_DIR
)