Fix last commit
This commit is contained in:
34
Makefile
34
Makefile
@@ -1,34 +0,0 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=glorytun
|
|
||||||
PKG_VERSION:=0.0.2
|
|
||||||
PKG_RELEASE:=2
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
||||||
PKG_SOURCE_URL:=https://github.com/angt/glorytun/releases/download/v$(PKG_VERSION)
|
|
||||||
PKG_CAT:=zcat
|
|
||||||
PKG_MD5SUM:=8535648ac8c5d075a0a7e7c4a13419f3
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define Package/glorytun
|
|
||||||
SECTION:=net
|
|
||||||
CATEGORY:=Network
|
|
||||||
SUBMENU:=VPN
|
|
||||||
TITLE:=Glorytun
|
|
||||||
DEPENDS:=+kmod-tun +libsodium
|
|
||||||
URL:=https://github.com/angt/glorytun
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/glorytun/description
|
|
||||||
Glorytun
|
|
||||||
endef
|
|
||||||
|
|
||||||
TARGET_CFLAGS += -std=c99
|
|
||||||
|
|
||||||
define Package/glorytun/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/glorytun $(1)/usr/sbin
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,glorytun))
|
|
||||||
@@ -2,15 +2,13 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=glorytun
|
PKG_NAME:=glorytun
|
||||||
PKG_VERSION:=0.0.2
|
PKG_VERSION:=0.0.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/angt/glorytun/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/angt/glorytun/releases/download/v$(PKG_VERSION)
|
||||||
|
PKG_CAT:=zcat
|
||||||
PKG_MD5SUM:=8535648ac8c5d075a0a7e7c4a13419f3
|
PKG_MD5SUM:=8535648ac8c5d075a0a7e7c4a13419f3
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
|
||||||
PKG_FIXUP:=autoreconf
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/glorytun
|
define Package/glorytun
|
||||||
@@ -30,6 +28,7 @@ TARGET_CFLAGS += -std=c99
|
|||||||
|
|
||||||
define Package/glorytun/install
|
define Package/glorytun/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/glorytun $(1)/usr/sbin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,glorytun))
|
$(eval $(call BuildPackage,glorytun))
|
||||||
|
|||||||
Reference in New Issue
Block a user