small-package/brook/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

2022-03-11 19:00:19 +08:00
# SPDX-License-Identifier: GPL-3.0-only
#
# Copyright (C) 2021 ImmortalWrt.org
include $(TOPDIR)/rules.mk
PKG_NAME:=brook
2022-05-05 16:51:04 +08:00
PKG_VERSION:=20220501
2022-03-11 19:00:19 +08:00
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/txthinking/brook/tar.gz/v$(PKG_VERSION)?
2022-05-12 22:38:22 +08:00
PKG_HASH:=31474d3a9667a153986710b989d99a4f971255f407d47eebaf15b6fc9c2f4128
2022-03-11 19:00:19 +08:00
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/txthinking/brook
2022-04-09 07:55:42 +08:00
GO_PKG_BUILD_PKG:=$(GO_PKG)/cli/brook
2022-03-11 19:00:19 +08:00
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
define Package/brook
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=A cross-platform proxy software
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
URL:=https://github.com/txthinking/brook
endef
define Package/brook/description
Brook is a cross-platform strong encryption and not detectable proxy.
Zero-Configuration.
endef
$(eval $(call GoBinPackage,brook))
$(eval $(call BuildPackage,brook))