8a65962779
function (#6027) git-svn-id: svn://svn.openwrt.org/openwrt/packages@18499 3c298f89-4303-0410-b956-a3cf2f4a3e73
45 lines
1020 B
Makefile
45 lines
1020 B
Makefile
#
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sslh
|
|
PKG_VERSION:=1.6i
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://rutschle.net/tech/
|
|
PKG_MD5SUM:=b2e0a207df885d7be57713449edae815
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/sslh
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=SSL/SSH multiplexer
|
|
URL:=http://rutschle.net/tech/sslh.shtml
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
USELIBWRAP= \
|
|
all
|
|
endef
|
|
|
|
define Package/sslh/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh $(1)/usr/sbin/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,sslh))
|