mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 07:06:58 +08:00
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-3.0-only
|
|
#
|
|
# Copyright (C) 2021 ImmortalWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=microsocks
|
|
PKG_VERSION:=1.0.4
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=130127a87f55870f18fbe47a64d9b9533020e2900802d36a0f6fd2b074313deb
|
|
|
|
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
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Web Servers/Proxies
|
|
TITLE:=Tiny, portable SOCKS5 server
|
|
URL:=https://github.com/rofl0r/microsocks
|
|
DEPENDS:=+libpthread
|
|
endef
|
|
|
|
define Package/microsocks/description
|
|
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.
|
|
endef
|
|
|
|
define Package/microsocks/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/microsocks $(1)/usr/bin/microsocks
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,microsocks))
|