mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-27 04:40:34 +03:00
39 lines
797 B
Makefile
39 lines
797 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=zapret-tpws
|
|
PKG_VERSION:=1.63
|
|
PKG_RELEASE:=20241008
|
|
|
|
PKG_MAINTAINER:=bol-van
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=docs/LICENSE.txt
|
|
|
|
PKG_SOURCE_URL:=https://github.com/bol-van/zapret.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=2cd6db3ba5ac2fa1494bed1c1903bc3531c76bc5
|
|
PKG_SOURCE_DATE:=2024-10-08
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
MAKE_PATH:=tpws
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=tpws
|
|
SUBMENU:=Zapret
|
|
DEPENDS:=+zlib +zapret
|
|
endef
|
|
|
|
define Build/Prepare
|
|
$(Build/Prepare/Default)
|
|
rm -f $(PKG_BUILD_DIR)/$(MAKE_PATH)/tpws
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/opt/zapret/tpws
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(MAKE_PATH)/tpws $(1)/opt/zapret/tpws/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|