forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (25 loc) · 827 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
SPK_NAME = gitea
SPK_VERS = 1.20.5
SPK_REV = 11
SPK_ICON = src/$(SPK_NAME).png
MAINTAINER = wkobiela
DESCRIPTION = Gitea is a community managed lightweight code hosting solution written in Go.
DISPLAY_NAME = Gitea
CHANGELOG = "1. Update to v1.20.5."
LICENSE = MIT
DEPENDS = cross/$(SPK_NAME)
SPK_DEPENDS = "git>=2"
SERVICE_USER = auto
SERVICE_SETUP = src/service-setup.sh
STARTABLE = yes
WIZARDS_DIR = src/wizard/
SERVICE_WIZARD_SHARENAME = wizard_shared_folder_name
SERVICE_PORT = 8418
SERVICE_PORT_TITLE = $(DISPLAY_NAME) (HTTP)
ADMIN_PORT = $(SERVICE_PORT)
include ../../mk/spksrc.spk.mk
.PHONY: gitea_extra_install
gitea_extra_install:
@$(MSG) "Install config.ini file"
@install -m 755 -d $(STAGING_DIR)/var
@install -m 644 src/config.ini $(STAGING_DIR)/var/config.ini