Browse Source

correct install dir and dependies

pull/413/head
NewUse 10 months ago
committed by GitHub
parent
commit
495da2c152
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      docs/compile/openwrt/package/zapret/tpws/Makefile

6
docs/compile/openwrt/package/zapret/tpws/Makefile

@ -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))

Loading…
Cancel
Save