packages/net/sslh/Makefile
juhosg 1312393aff sslh: Bump to v1.14
Disabled support for sslh 1.12's config file feature to avoid libconfig
dependency; Redundant as we use UCI-based config file instead.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3080/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 18:00:04 +00:00

52 lines
1.2 KiB
Makefile

#
# Copyright (C) 2009-2012 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.14
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://rutschle.net/tech/
PKG_MD5SUM:=36e64bd6c7d0a299d5acd1109988099b
include $(INCLUDE_DIR)/package.mk
define Package/sslh
SECTION:=net
CATEGORY:=Network
SUBMENU:=Routing and Redirection
TITLE:=SSL/SSH multiplexer
URL:=http://rutschle.net/tech/sslh.shtml
MAINTAINER:=Matthias Buecher <mail@maddes.net>
endef
define Package/sslh/conffiles
/etc/config/sslh
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
USELIBCONFIG= \
USELIBWRAP= \
all
endef
define Package/sslh/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-fork $(1)/usr/sbin/sslh
$(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))