mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
dns2socks: cleanup Makefile (#8237)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
e65535d3cf
commit
ea3e9f2fe1
@ -1,10 +1,6 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-3.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 ImmortalWrt
|
# Copyright (C) 2021 ImmortalWrt.org
|
||||||
# <https://immortalwrt.org>
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v3.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
@ -23,22 +19,22 @@ PKG_LICENSE_FILE:=LICENSE
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
UNZIP_CMD:=unzip -q -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE)
|
||||||
|
|
||||||
define Package/dns2socks
|
define Package/dns2socks
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=IP Addresses and Names
|
SUBMENU:=IP Addresses and Names
|
||||||
TITLE:=The utility to resolve DNS requests via a SOCKS5 tunnel.
|
TITLE:=DNS to SOCKS or HTTP proxy
|
||||||
URL:=http://dns2socks.sourceforge.net/
|
URL:=http://dns2socks.sourceforge.net/
|
||||||
MAINTAINER:=ghostmaker
|
|
||||||
DEPENDS:=+libpthread
|
DEPENDS:=+libpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dns2socks/description
|
define Package/dns2socks/description
|
||||||
This is a utility to resolve DNS requests via a SOCKS5 tunnel and caches the answers.
|
This is a command line utility to resolve DNS requests via
|
||||||
|
a SOCKS tunnel like Tor or a HTTP proxy.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
UNZIP_CMD:=unzip -q -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE)
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CC) \
|
$(TARGET_CC) \
|
||||||
$(TARGET_CFLAGS) \
|
$(TARGET_CFLAGS) \
|
||||||
@ -54,4 +50,4 @@ define Package/dns2socks/install
|
|||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/DNS2SOCKS/dns2socks $(1)/usr/bin/dns2socks
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/DNS2SOCKS/dns2socks $(1)/usr/bin/dns2socks
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,dns2socks))
|
$(eval $(call BuildPackage,dns2socks))
|
||||||
|
Loading…
Reference in New Issue
Block a user