Some checks failed
build / check (push) Has been cancelled
build / build (aarch64_cortex-a53, openwrt-23.05) (push) Has been cancelled
build / build (aarch64_cortex-a72, openwrt-23.05) (push) Has been cancelled
build / build (aarch64_generic, openwrt-23.05) (push) Has been cancelled
build / build (arm_arm1176jzf-s_vfp, openwrt-23.05) (push) Has been cancelled
build / build (arm_arm926ej-s, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a15_neon-vfpv4, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a5_vfpv4, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a7, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a7_neon-vfpv4, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a7_vfpv4, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a8_vfpv3, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a9, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a9_neon, openwrt-23.05) (push) Has been cancelled
build / build (arm_cortex-a9_vfpv3-d16, openwrt-23.05) (push) Has been cancelled
build / build (arm_fa526, openwrt-23.05) (push) Has been cancelled
build / build (arm_mpcore, openwrt-23.05) (push) Has been cancelled
build / build (arm_xscale, openwrt-23.05) (push) Has been cancelled
build / build (mips64_octeonplus, openwrt-23.05) (push) Has been cancelled
build / build (mips_24kc, openwrt-23.05) (push) Has been cancelled
build / build (mips_4kec, openwrt-23.05) (push) Has been cancelled
build / build (mips_mips32, openwrt-23.05) (push) Has been cancelled
build / build (mipsel_24kc, openwrt-23.05) (push) Has been cancelled
build / build (mipsel_24kc_24kf, openwrt-23.05) (push) Has been cancelled
build / build (mipsel_74kc, openwrt-23.05) (push) Has been cancelled
build / build (mipsel_mips32, openwrt-23.05) (push) Has been cancelled
build / build (x86_64, openwrt-23.05) (push) Has been cancelled
build / release (23.05) (push) Has been cancelled
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=zapret-tpws
|
|
PKG_VERSION:=68-20241115
|
|
|
|
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:=41b4c6650b13707654066b5af007d531dd348286
|
|
PKG_SOURCE_DATE:=2024-11-10
|
|
|
|
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
#PKG_SOURCE_URL:=https://github.com/bol-van/zapret/archive/refs/tags/v$(PKG_VERSION).tar.gz?
|
|
#PKG_HASH:=skip
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
#TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
|
|
#TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
|
|
|
|
MAKE_PATH:=tpws
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=tpws
|
|
SUBMENU:=Zapret
|
|
DEPENDS:=+zlib +libcap +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)))
|