[packages] luaexpat, lusec & luasocket: change dependency on Lua from "lua" to "...
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=icmptx
11 PKG_VERSION:=0.01
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://thomer.com/icmptx/
16 PKG_MD5SUM:=f83d1d7789a1b100abcc00d1a56ee95d
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/icmptx
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=allows you to pass IP packets via ICMP queries
26 URL:=http://thomer.com/icmptx/
27 endef
28
29 define Build/Configure
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
34 endef
35
36 define Package/icmptx/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/icmptx $(1)/usr/sbin/
39 endef
40
41 $(eval $(call BuildPackage,icmptx))