source: packages/net/nstx/Makefile @ 26065

Last change on this file since 26065 was 26065, checked in by cshore, 6 years ago

[net] Firewall Tunnel: Move all programs meant to get tunnel trhough restrictive firewall (but not VPN) to Firewall Tunnel submenu.

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=nstx
11PKG_VERSION:=1.1-beta6
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/n/nstx/
16PKG_MD5SUM:=275abd75a856b07a798b1f2360088cf5
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/nstx/Default
21  SECTION:=net
22  CATEGORY:=Network
23  SUBMENU:=Firewall Tunnel
24  TITLE:=allows you to pass IP packets via DNS queries
25  URL:=http://savannah.nongnu.org/projects/nstx/
26endef
27
28define Package/nstx
29  $(call Package/nstx/Default)
30  TITLE+= client version
31endef
32
33define Package/nstx/description
34        nstx client version
35endef
36
37define Package/nstxd
38  $(call Package/nstx/Default)
39  TITLE+= server version
40endef
41
42define Package/nstxd/description
43        nstx server version
44endef
45
46define Build/Configure
47endef
48
49define Build/Compile
50        $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
51endef
52
53define Package/nstx/install
54        $(INSTALL_DIR) $(1)/usr/sbin
55        $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxcd $(1)/usr/sbin/
56endef
57
58define Package/nstxd/install
59        $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
60        $(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxd $(1)/usr/sbin
61endef
62
63$(eval $(call BuildPackage,nstx))
64$(eval $(call BuildPackage,nstxd))
Note: See TracBrowser for help on using the repository browser.