PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.nocrew.org/pub/nocrew/unix/
PKG_MD5SUM:=493cc0f5f21e9955db27ee9cd9a976d5
-PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl
- TITLE:=bidirectional virtual data connection tunnelled in HTTP requests
+ TITLE:=bidirectional tunnel in HTTP requests
URL:=http://www.nocrew.org/software/httptunnel.html
endef
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/hts $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/htc $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/httptunnel.init $(1)/etc/init.d/httptunnel
+ $(INSTALL_DIR) $(1)/etc/config
+ $(INSTALL_DATA) ./files/httptunnel.conf $(1)/etc/config/httptunnel
endef
$(eval $(call BuildPackage,httptunnel))