small-package/microsocks/Makefile

38 lines
776 B
Makefile
Raw Normal View History

2021-09-05 16:50:22 +08:00
include $(TOPDIR)/rules.mk
PKG_NAME:=microsocks
PKG_VERSION=1.0.2
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)?
2021-09-24 19:49:47 +08:00
PKG_HASH:=skip
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
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=microsocks for OpenWRT
DEPENDS:=+libpthread
endef
define Package/microsocks/description
microsocks is a Tiny Proxy in C.
endef
define Package/microsocks/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/microsocks $(1)/usr/bin/microsocks
endef
$(eval $(call BuildPackage,microsocks))