forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (26 loc) · 787 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SPK_NAME = mtproxy
SPK_VERS = 1
SPK_REV = 3
SPK_ICON = src/${SPK_NAME}.jpg
REQUIRED_DSM = 5.2
BETA = 1
DEPENDS = cross/$(SPK_NAME)
MAINTAINER = Anonym-tsk
# From TelegramMessenger/MTProxy
DESCRIPTION = Simple MT-Proto proxy server
DESCRIPTION_RUS = Простой MT-Proto прокси сервер
RELOAD_UI = yes
STARTABLE = yes
DISPLAY_NAME = MTProxy
CHANGELOG =
UNSUPPORTED_ARCHS = $(ARM_ARCHES) $(PPC_ARCHES)
HOMEPAGE = https://github.com/TelegramMessenger/MTProxy
LICENSE = GPL
WIZARDS_DIR = src/wizard/
SERVICE_SETUP = src/service-setup.sh
POST_STRIP_TARGET = mtproxy_extra_install
include ../../mk/spksrc.spk.mk
.PHONY: mtproxy_extra_install
mtproxy_extra_install:
install -m 755 -d $(STAGING_DIR)/var
install -m 644 src/mtproxy.conf $(STAGING_DIR)/var/mtproxy.conf