small-package/microsocks/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2022-01-03 20:32:16 +08:00
# SPDX-License-Identifier: GPL-3.0-only
#
# Copyright (C) 2021 ImmortalWrt.org
2021-09-05 16:50:22 +08:00
include $(TOPDIR)/rules.mk
PKG_NAME:=microsocks
2022-03-02 09:17:21 +08:00
PKG_VERSION:=1.0.3
PKG_RELEASE:=$(AUTORELEASE)
2021-09-05 16:50:22 +08:00
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)?
2022-05-12 22:38:22 +08:00
PKG_HASH:=6801559b6f8e17240ed8eef17a36eea8643412b5a7476980fd4e24b02a021b82
2021-09-05 16:50:22 +08:00
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=lean
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/microsocks
2022-01-03 20:32:16 +08:00
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=Tiny, portable SOCKS5 server
URL:=https://github.com/rofl0r/microsocks
DEPENDS:=+libpthread
2021-09-05 16:50:22 +08:00
endef
define Package/microsocks/description
2022-01-03 20:32:16 +08:00
A SOCKS5 service that you can run on your remote boxes to tunnel connections
through them, if for some reason SSH doesn't cut it for you.
2021-09-05 16:50:22 +08:00
endef
define Package/microsocks/install
$(INSTALL_DIR) $(1)/usr/bin
2022-01-03 20:32:16 +08:00
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/microsocks $(1)/usr/bin/microsocks
2021-09-05 16:50:22 +08:00
endef
$(eval $(call BuildPackage,microsocks))