mirror of
https://github.com/kenzok8/small-package.git
synced 2026-01-14 03:14:58 +08:00
40 lines
877 B
Makefile
40 lines
877 B
Makefile
#
|
|
# Copyright (C) 2006-2017 OpenWrt.org
|
|
# Copyright (C) 2022-2025 sirpdboy <herboy2008@gmail.com>
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
THEME_NAME:=timecontrol
|
|
PKG_NAME:=luci-app-$(THEME_NAME)
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
LUCI_TITLE:=LuCI support for timecontrol for nftables
|
|
LUCI_DESCRIPTION:=LuCI support for Easy timecontrol for nftables(Internet time control).
|
|
LUCI_DEPENDS:=+bc +nftables +bash +conntrack
|
|
LUCI_PKGARCH:=all
|
|
|
|
PKG_VERSION:=3.2.1
|
|
PKG_RELEASE:=20251227
|
|
PKG_MAINTAINER:=sirpdboy <herboy2008@gmail.com>
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/postinst
|
|
#!/bin/sh
|
|
rm -f /tmp/luci-*
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/timecontrol
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|
|
|