Add icmptx IP over ICMP tunneling program
[openwrt/svn-archive/archive.git] / net / icmptx / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=icmptx
12 PKG_VERSION:=0.01
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://thomer.com/icmptx/
17 PKG_MD5SUM:=f83d1d7789a1b100abcc00d1a56ee95d
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/icmptx
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=allows you to pass IP packets via DNS queries
28 URL:=http://thomer.com/icmptx/
29 endef
30
31 define Build/Configure
32 endef
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
36 endef
37
38 define Package/icmptx/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/icmptx $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,icmptx))