mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
+5
-1
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=kcptun
|
||||
PKG_VERSION:=20200103
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v${PKG_VERSION}?
|
||||
@@ -34,6 +34,10 @@ define Package/kcptun-config
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/kcptun-config/conffiles
|
||||
/etc/config/kcptun
|
||||
endef
|
||||
|
||||
define Package/kcptun-config/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/kcptun.config $(1)/etc/config/kcptun
|
||||
|
||||
Reference in New Issue
Block a user