source: packages/net/icmptx/Makefile @ 20295

Last change on this file since 20295 was 20295, checked in by swalker, 7 years ago

[packages] mtd-utils, icmptx, shell-fm, hasciicam: use $(PKG_REV) to store the commit id

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 967 bytes
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=icmptx
11PKG_REV:=33e0b826f99df290ee792f6aa587af273d674309
12PKG_VERSION:=0.2
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_URL:=git://github.com/jakkarth/icmptx.git
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/icmptx
24  SECTION:=net
25  CATEGORY:=Network
26  TITLE:=IP-over-ICMP tunnel
27  URL:=http://github.com/jakkarth/icmptx
28endef
29
30define Build/Configure
31endef
32
33define Build/Compile
34        $(MAKE) -C $(PKG_BUILD_DIR) \
35                CC="$(TARGET_CC)" \
36                OPT_FLAGS="$(TARGET_CFLAGS)" \
37                icmptx
38endef
39
40define Package/icmptx/install
41        $(INSTALL_DIR) $(1)/usr/sbin
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/icmptx $(1)/usr/sbin/
43endef
44
45$(eval $(call BuildPackage,icmptx))
Note: See TracBrowser for help on using the repository browser.