2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_REV
:=33e0b826f99df290ee792f6aa587af273d674309
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_URL
:=git
://github.com
/jakkarth
/icmptx.git
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
21 include $(INCLUDE_DIR
)/package.mk
26 SUBMENU
:=Firewall Tunnel
27 TITLE
:=IP-over-ICMP tunnel
28 URL
:=http
://github.com
/jakkarth
/icmptx
31 define Build
/Configure
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 OPT_FLAGS
="$(TARGET_CFLAGS)" \
41 define Package
/icmptx
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/icmptx
$(1)/usr
/sbin
/
46 $(eval
$(call BuildPackage
,icmptx
))