2 # Copyright (C) 2020 Bogdan Shatik <bogdikxxx@mail.ru>
4 # This is free software, licensed under the GNU General Public License v3.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MAINTAINER
:=Bogdan Shatik
<bogdikxxx@mail.ru
>
14 PKG_LICENSE
:=GPL-3.0
-or-later
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://github.com
/bogdik
/openwrt-linux-eoip
/releases
/download
/0.5/
17 PKG_HASH
:=22f6f3864665adef26c7fbd57543a396108ba2dff1282af8143f18bc2a9912f8
21 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=Mikrotik-compatible userspace EoIP tunnel
25 URL
:=https
://code.google.com
/p
/linux-eoip
/
29 DEPENDS
:=+kmod-tun
+libpthread
+liblzo
32 define Package
/eoip
/conffiles
36 define Package
/eoip
/description
37 linux-eoip can create ethernet tunnels compatible with Mikrotik EoIP tunnel.
38 At current moment it is easiest way to create stateless tunnel with Mikrotik.
42 --with-kernel
="$(LINUX_DIR)" \
43 --with-zlib
="$(STAGING_DIR)/usr" \
44 --with-lzo-include
="$(STAGING_DIR)/usr/include/lzo"
46 define Package
/eoip
/install
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/eoip
$(1)/usr
/bin
/
49 $(INSTALL_DIR
) $(1)/etc
/config
50 $(INSTALL_DATA
) .
/files
/eoip.config
$(1)/etc
/config
/eoip
51 $(INSTALL_DIR
) $(1)/etc
/init.d
52 $(INSTALL_BIN
) .
/files
/eoip.init
$(1)/etc
/init.d
/eoip
55 $(eval
$(call BuildPackage
,eoip
))