Skip to content

Commit

Permalink
Prepare to work via LUCI
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdik committed Nov 21, 2019
1 parent 2e433dd commit 371fdbf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions linux-eoip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ PKG_NAME:=linux-eoip
PKG_VERSION:=0.5
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://linux-eoip.googlecode.com/files/
PKG_MD5SUM:=b2a9746f9ae352f2c495422cb19900d8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://files.bgeschka.de/
PKG_MD5SUM:=d3e11bfd3fdc6a9eeec62c3c5afcf734

PKG_INSTALL:=1

Expand All @@ -32,6 +32,10 @@ define Package/linux-eoip
TITLE+= (command line)
endef

define Package/linux-eoip/conffiles
/etc/config/eoip
endef

define Package/linux-eoip/description
linux-eoip can create ethernet tunnels compatible with Mikrotik EoIP tunnel.
At current moment it is easiest way to create stateless tunnel with Mikrotik.
Expand All @@ -47,6 +51,10 @@ CONFIGURE_ARGS += \
define Package/linux-eoip/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/eoip $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/eoip.config $(1)/etc/config/eoip
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/eoip.init $(1)/etc/init.d/eoip
endef

$(eval $(call BuildPackage,linux-eoip))

0 comments on commit 371fdbf

Please sign in to comment.