forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
67 lines (51 loc) · 2.54 KB
/
Makefile
File metadata and controls
67 lines (51 loc) · 2.54 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
SPK_NAME = znc
SPK_VERS = 1.10.1
SPK_REV = 26
SPK_ICON = src/znc.png
DSM_UI_DIR = app
PYTHON_PACKAGE = python312
SPK_DEPENDS = "python312"
MAINTAINER = SynoCommunity
DESCRIPTION = Advanced IRC bouncer. An IRC bouncer is nothing more than an IRC proxy. ZNC will always be connected in your chat rooms, and will be the gateway between your clients, and your IRC servers. You can, for instance, consult messages while you were offline or hide your identity.
DESCRIPTION_FRE = Bouncer IRC avancé. Un bouncer IRC n\’est en fait qu\’un proxy IRC. ZNC restera connecté en permanence à vos salons de discussions et fera office de passerelle entre vos clients et vos serveurs IRC. Vous pourrez, par exemple, consultez des messages diffusés en votre absence ou masquer votre identité.
DESCRIPTION_SPN = IRC bouncer avanzado. Un IRC bouncer no es más que un proxy para IRC. ZNC estará siempre conectado a tus canales, y hará de puerta de enlace entre tus clientes y tus servidores IRC. Puedes, por ejemplo, consultar mensajes mientras estuviste desconectado o esconder tu identidad.
DISPLAY_NAME = ZNC
CHANGELOG = "1. Update to ZNC 1.10.1.<br/>2. Migrate to Python 3.12<br/>3. Updated version only supported on DSM7 and newer<br/>4. Enablement of i18n+boost, icu and cyrus-sasl"
# DEBUG
export GCC_DEBUG_INFO = 1
STARTABLE = yes
HOMEPAGE = https://wiki.znc.in/
LICENSE = Apache License 2.0
# Ensure C++17 compatibility
REQUIRED_MIN_DSM = 7.0
UNSUPPORTED_ARCHS = comcerto2k
WIZARDS_DIR = src/wizard
CONF_DIR = src/conf
# 'auto' reserved value grabs SPK_NAME
SERVICE_USER = auto
SERVICE_SETUP = src/service-setup.sh
# Service configuration
SERVICE_PORT = 8250
SERVICE_PORT_TITLE = ZNC(HTTP)
# Admin link
ADMIN_PORT = ${SERVICE_PORT}
POST_STRIP_TARGET = znc_extra_install
# Boost must be built from spk
DEPENDS = cross/boost_1.86
export BOOST_BUILD_PATH="$(WORK_DIR)/boost_1_86_0"
export BOOST_LIBRARIES="locale"
ENV += PATH=$(BOOST_BUILD_PATH):$(PATH)
DEPENDS += cross/znc
include ../../mk/spksrc.archs.mk
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS) $(ARMv7L_ARCHS)),$(ARCH))
# bugfix for libicudata error, solution proposed by Steven R. Loomis
# in https://sourceforge.net/p/icu/mailman/message/36666855/
export LIBICU_DATA_PACKAGING_MODE=files
endif
include ../../mk/spksrc.python.mk
.PHONY: znc_extra_install
znc_extra_install:
install -m 755 -d $(STAGING_DIR)/var/modules $(STAGING_DIR)/var/configs
install -m 644 src/znc.conf $(STAGING_DIR)/var/configs/znc.conf
install -m 644 src/oidentd.conf ${STAGING_DIR}/var/configs/oidentd.conf
ln -sf /etc/ssl/certs $(STAGING_DIR)/certs