Files
glorytun-openwrt/glorytun/Makefile
2020-06-09 21:25:48 +02:00

44 lines
1.0 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=glorytun
PKG_VERSION:=0.3.5
PKG_RELEASE:=0
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://git.miegl.cz/miegl/glorytun/archive
PKG_HASH:=20c312b688f02fcee2e6f2878bfe5be242bc8490303f6c48b87b5f8df353a24a
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/glorytun
SECTION:=net
CATEGORY:=Network
DEPENDS:=+kmod-tun +libsodium +librt
TITLE:=Glorytun
URL:=https://github.com/angt/glorytun
SUBMENU:=VPN
endef
define Package/glorytun/description
Glorytun is a vpn designed to improve your internet connectivity:
- Fast and highly secure.
- Multipath and active failover.
- Traffic shaping.
- Path MTU discovery without ICMP.
endef
define Package/glorytun/conffiles
/etc/config/glorytun
endef
define Package/glorytun/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/glorytun $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) init $(1)/etc/init.d/glorytun
$(INSTALL_DIR) $(1)/etc/config
touch $(1)/etc/config/glorytun
endef
$(eval $(call BuildPackage,glorytun))