2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://rutschle.net/tech/
16 PKG_MD5SUM:=ee124654412198a5e11fe28acf10634d
18 include $(INCLUDE_DIR)/package.mk
23 TITLE:=SSL/SSH multiplexer
24 URL:=http://rutschle.net/tech/sslh.shtml
28 $(MAKE) -C $(PKG_BUILD_DIR) \
30 CFLAGS="$(TARGET_CFLAGS)" \
35 define Package/sslh/install
36 $(INSTALL_DIR) $(1)/usr/sbin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh $(1)/usr/sbin/
38 $(INSTALL_DIR) $(1)/etc/init.d/
39 $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
40 $(INSTALL_DIR) $(1)/etc/config
41 $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
44 $(eval $(call BuildPackage,sslh))