42 lines
964 B
Makefile
42 lines
964 B
Makefile
#
|
||
# (с) 2025 gSpot (https://github.com/gSpotx2f/luci-app-internet-detector)
|
||
#
|
||
|
||
include $(TOPDIR)/rules.mk
|
||
|
||
PKG_NAME:=internet-detector-mod-email
|
||
PKG_VERSION:=1.4.5
|
||
PKG_RELEASE:=1
|
||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
||
|
||
include $(INCLUDE_DIR)/package.mk
|
||
|
||
define Package/$(PKG_NAME)
|
||
SECTION:=net
|
||
CATEGORY:=Network
|
||
TITLE:=Email module for internet-detector
|
||
URL:=https://github.com/gSpotx2f/luci-app-internet-detector
|
||
PKGARCH:=all
|
||
DEPENDS:=+internet-detector +mailsend
|
||
endef
|
||
|
||
define Package/$(PKG_NAME)/description
|
||
Email support for internet-detector.
|
||
endef
|
||
|
||
define Package/$(PKG_NAME)/conffiles
|
||
endef
|
||
|
||
define Build/Configure
|
||
endef
|
||
|
||
define Build/Compile
|
||
endef
|
||
|
||
define Package/$(PKG_NAME)/install
|
||
$(INSTALL_DIR) $(1)/usr/lib/lua/internet-detector
|
||
$(INSTALL_DATA) ./files/usr/lib/lua/internet-detector/mod_email.lua $(1)/usr/lib/lua/internet-detector/mod_email.lua
|
||
endef
|
||
|
||
$(eval $(call BuildPackage,$(PKG_NAME)))
|