source: packages/net/sslh/Makefile @ 27624

Last change on this file since 27624 was 27624, checked in by maddes, 5 years ago

[package] sslh move to submenu Routing and Redirection, mark config files

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2009-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=sslh
11PKG_VERSION:=1.7a
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://rutschle.net/tech/
16PKG_MD5SUM:=ee124654412198a5e11fe28acf10634d
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/sslh
21  SECTION:=net
22  CATEGORY:=Network
23  SUBMENU:=Routing and Redirection
24  TITLE:=SSL/SSH multiplexer
25  URL:=http://rutschle.net/tech/sslh.shtml
26endef
27
28define Package/sslh/conffiles
29/etc/config/sslh
30endef
31
32define Build/Compile
33        $(MAKE) -C $(PKG_BUILD_DIR) \
34                CC="$(TARGET_CC)" \
35                CFLAGS="$(TARGET_CFLAGS)" \
36                USELIBWRAP= \
37                all
38endef
39
40define Package/sslh/install
41        $(INSTALL_DIR) $(1)/usr/sbin
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh $(1)/usr/sbin/
43        $(INSTALL_DIR) $(1)/etc/init.d/
44        $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
45        $(INSTALL_DIR) $(1)/etc/config
46        $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
47endef
48
49$(eval $(call BuildPackage,sslh))
Note: See TracBrowser for help on using the repository browser.