poco: moved to github
[openwrt/svn-archive/archive.git] / net / icmptx / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=icmptx
11 PKG_REV:=33e0b826f99df290ee792f6aa587af273d674309
12 PKG_VERSION:=0.2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_URL:=git://github.com/jakkarth/icmptx.git
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/icmptx
24 SECTION:=net
25 CATEGORY:=Network
26 SUBMENU:=Firewall Tunnel
27 TITLE:=IP-over-ICMP tunnel
28 URL:=http://github.com/jakkarth/icmptx
29 endef
30
31 define Build/Configure
32 endef
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 CC="$(TARGET_CC)" \
37 OPT_FLAGS="$(TARGET_CFLAGS)" \
38 icmptx
39 endef
40
41 define Package/icmptx/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/icmptx $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,icmptx))