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 SUBMENU
:=Routing and Redirection
24 TITLE
:=SSL
/SSH multiplexer
25 URL
:=http
://rutschle.net
/tech
/sslh.shtml
28 define Package
/sslh
/conffiles
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
35 CFLAGS
="$(TARGET_CFLAGS)" \
40 define 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
)
49 $(eval
$(call BuildPackage
,sslh
))