DESCRIPTION:= is obselete
[packages.git] / net / httptunnel / 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:=httptunnel
12 PKG_VERSION:=3.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://ftp.nocrew.org/pub/nocrew/unix/
17 PKG_MD5SUM:=493cc0f5f21e9955db27ee9cd9a976d5
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/httptunnel
25   SECTION:=net
26   CATEGORY:=Network
27   DEPENDS:=+libopenssl
28   TITLE:=bidirectional virtual data connection tunnelled in HTTP requests
29   URL:=http://www.nocrew.org/software/httptunnel.html
30 endef
31
32 define Package/httptunnel/description
33         httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests.
34         The HTTP requests can be sent via an HTTP proxy if so desired.
35 endef
36
37 define Package/httptunnel/install       
38         $(INSTALL_DIR) $(1)/usr/sbin
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/hts $(1)/usr/sbin/
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/htc $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,httptunnel))