Update Makefile

This commit is contained in:
angt
2015-12-02 17:25:46 +01:00
parent e17f874b0f
commit 1a09d0a6c6

View File

@@ -8,6 +8,8 @@ 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_MD5SUM:=798854fd06a1f30e95174667bd210743 PKG_MD5SUM:=798854fd06a1f30e95174667bd210743
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/glorytun define Package/glorytun
@@ -25,15 +27,6 @@ endef
TARGET_CFLAGS += -std=c99 -D_GNU_SOURCE TARGET_CFLAGS += -std=c99 -D_GNU_SOURCE
define Package/glorytun/conffiles
/etc/config/glorytun
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh --host=$(GNU_TARGET_NAME) --target=$(GNU_TARGET_NAME); cd -);
$(call Build/Configure/Default,$CONFIGURE_ARGS)
endef
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 $(INSTALL_BIN) $(PKG_BUILD_DIR)/glorytun $(1)/usr/sbin