1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=tmate-ssh-server
4 PKG_VERSION
:=511fd2bd852464e76824279609a34ee93fe148a4
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://codeload.github.com
/tmate-io
/tmate-ssh-server
/tar.gz
/$(PKG_VERSION
)?
9 PKG_HASH
:=68602496ca6a17ea80f5be53eba047897ac714c7cdfcb3bcdc12c56b8f3c3b45
12 PKG_LICENSE_FILES
:=COPYING
13 PKG_MAINTAINER
:=Paul Spooren
<mail@aparcar.org
>
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/tmate-ssh-server
24 TITLE
:=Instant Terminal Sharing Server
26 DEPENDS
:=+libevent2
+libncurses
+libpthread
+libssh
+msgpack-c
+terminfo
+openssh-keygen
29 define Package
/tmate-ssh-server
/description
30 tmate-ssh-server is the server side part of tmate.io.
34 LIBSSH_CFLAGS
="-I$(STAGING_DIR)/usr/include" \
40 define Package
/tmate-ssh-server
/install
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/tmate-ssh-server
$(1)/usr
/bin
/tmate-ssh-server
44 $(INSTALL_DIR
) $(1)/etc
/init.d
45 $(INSTALL_BIN
) .
/files
/tmate-ssh-server.init
$(1)/etc
/init.d
/tmate-ssh-server
47 $(INSTALL_DIR
) $(1)/etc
/config
48 $(INSTALL_DATA
) .
/files
/tmate-ssh-server.config
$(1)/etc
/config
/tmate-ssh-server
51 define Package
/tmate-ssh-server
/conffiles
52 /etc
/config
/tmate-ssh-server
55 $(eval
$(call BuildPackage
,tmate-ssh-server
))