2016-10-16 17:54:48 +02:00
|
|
|
#
|
2021-02-26 19:46:53 +01:00
|
|
|
# Copyright (c) 2016-2021 Dirk Brenken (dev@brenken.org)
|
2016-10-16 17:54:48 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v3.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=travelmate
|
2021-07-25 21:41:58 +02:00
|
|
|
PKG_VERSION:=2.0.4
|
|
|
|
PKG_RELEASE:=1
|
2019-09-02 15:15:08 +02:00
|
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
2016-10-16 17:54:48 +02:00
|
|
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/travelmate
|
2016-10-16 17:54:48 +02:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=A wlan connection manager for travel router
|
2020-10-03 10:24:28 +02:00
|
|
|
DEPENDS:=+iwinfo +jshn +jsonfilter +curl +ca-bundle
|
2016-10-16 17:54:48 +02:00
|
|
|
PKGARCH:=all
|
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/travelmate/description
|
2016-10-16 17:54:48 +02:00
|
|
|
A wlan connection manager for travel router.
|
|
|
|
Please see https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md for further information.
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/travelmate/conffiles
|
2016-10-16 17:54:48 +02:00
|
|
|
/etc/config/travelmate
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/travelmate/install
|
2016-10-16 17:54:48 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2019-08-06 15:29:00 +02:00
|
|
|
$(INSTALL_BIN) ./files/travelmate.sh $(1)/usr/bin
|
2016-10-16 17:54:48 +02:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/travelmate.init $(1)/etc/init.d/travelmate
|
|
|
|
|
2020-09-19 06:20:19 +02:00
|
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/ntp
|
|
|
|
$(INSTALL_BIN) ./files/travelmate_ntp.hotplug $(1)/etc/hotplug.d/ntp/25-travelmate_ntp
|
|
|
|
|
2016-10-16 17:54:48 +02:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/travelmate.conf $(1)/etc/config/travelmate
|
2019-08-06 15:29:00 +02:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/travelmate
|
2020-09-27 18:55:33 +02:00
|
|
|
$(INSTALL_BIN) ./files/travelmate.vpn $(1)/etc/travelmate
|
2020-09-19 06:20:19 +02:00
|
|
|
$(INSTALL_BIN) ./files/travelmate.mail $(1)/etc/travelmate
|
2019-08-06 15:29:00 +02:00
|
|
|
$(INSTALL_BIN) ./files/*.login $(1)/etc/travelmate
|
2016-10-16 17:54:48 +02:00
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
$(eval $(call BuildPackage,travelmate))
|