correct install dir and dependies

This commit is contained in:
NewUse 2024-10-03 09:08:24 +03:00 committed by GitHub
parent b82dbcd0e6
commit 495da2c152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ define Package/tpws
CATEGORY:=Network
TITLE:=TPWS DPI bypass proxy server
SUBMENU:=Zapret
DEPENDS:=+zlib +libcap +libcap +iptables
DEPENDS:=+zlib +libcap +libcap
endef
define Package/tpws/description
@ -44,8 +44,8 @@ define Package/tpws/install
$(INSTALL_BIN) ./files/zapret.init $(1)/etc/init.d/zapret
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) ./files/zapret.hotplug $(1)/etc/hotplug.d/iface/90-zapret
$(INSTALL_DIR) $(1)/opt/zapret/tpws
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tpws $(1)/opt/zapret/tpws
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tpws $(1)/usr/bin
endef
$(eval $(call BuildPackage,tpws))