ruantiblock-mod-py: changes for OpenWrt-22.03

This commit is contained in:
gSpot
2022-09-08 15:52:21 +03:00
parent a33e33cb0b
commit a95c28a522
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ruantiblock-mod-py
PKG_VERSION:=0.9.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/ruantiblock_openwrt>
include $(INCLUDE_DIR)/package.mk
@@ -32,8 +32,8 @@ endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/libexec/ruantiblock
$(INSTALL_BIN) ./files/usr/libexec/ruantiblock/ruab_parser.py $(1)/usr/libexec/ruantiblock/ruab_parser.py
$(INSTALL_DIR) $(1)/usr/lib/python3.9
$(INSTALL_DATA) ./files/usr/lib/python3.9/ruab_sum_ip.py $(1)/usr/lib/python3.9/ruab_sum_ip.py
$(INSTALL_DIR) $(1)/usr/lib/python3.10
$(INSTALL_DATA) ./files/usr/lib/python3.10/ruab_sum_ip.py $(1)/usr/lib/python3.10/ruab_sum_ip.py
endef
$(eval $(call BuildPackage,$(PKG_NAME)))