2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=b325fa9d238e32195fbb3fc3646b0d28
16 PKG_SOURCE_URL
:=http
://toxygen.net
/6tunnel
/
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-0.11
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/6tunnel
29 TITLE
:=IPv4
/ IPv6 tunnel proxy
30 DESCRIPTION
:=IPv4
/ IPv6 tunnel proxy
31 URL
:=http
://toxygen.net
/6tunnel
/
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,,ac_cv_path_STRIP
=$(STRIP
) ac_cv_func_vsnprintf
=yes
)
39 rm -rf
$(PKG_INSTALL_DIR
)
40 mkdir
-p
$(PKG_INSTALL_DIR
)
41 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 define Package
/6tunnel
/install
46 $(INSTALL_DIR
) $(1)/usr
/sbin
47 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
50 $(eval
$(call BuildPackage
,6tunnel
))