mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
36 lines
877 B
Makefile
36 lines
877 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ngrokc
|
|
PKG_VERSION:=e4d1859
|
|
PKG_RELEASE:=1
|
|
PKG_REV:=e4d18597debc01827171f224c38e27ff5feb07a4
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_URL:=https://github.com/dosgo/ngrok-c.git
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ngrokc
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Web Servers/Proxies
|
|
TITLE:=Secure tunnels to localhost(C++ port)
|
|
URL:=https://github.com/dosgo/ngrok-c
|
|
DEPENDS:=+libc +libpthread +libopenssl +libstdcpp
|
|
endef
|
|
|
|
define Build/Prepare
|
|
$(call Build/Prepare/Default,)
|
|
$(CP) $(PKG_BUILD_DIR)/Makefile.openssl $(PKG_BUILD_DIR)/Makefile
|
|
endef
|
|
|
|
define Package/ngrokc/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ngrokc $(1)/usr/bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ngrokc))
|