packages/utils/zyxel-reset/Makefile

41 lines
1.0 KiB
Makefile

#
# Copyright (C) 2022 David Bauer <mail@david-bauer.net>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=zyxel-reset
PKG_SOURCE_DATE:=2022-12-23
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/blocktrron/zyxel-reset.git
PKG_SOURCE_VERSION:=e1def7b5f117c206afe15aa57ca7433eb972d5d1
PKG_MIRROR_HASH:=e841ad610a1842dcfa9fdb3652b3130bdc377a1e2a670f42d9df073249d6d985
PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
define Package/zyxel-reset
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Trigger factory-reset for ZyXEL APs
endef
define Package/zyxel-reset/description
This program can trigger a factory-reset on ZyXEL Access Points
running stock-firmware.
endef
define Package/zyxel-reset/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zyxel-reset $(1)/usr/bin/zyxel-reset
endef
$(eval $(call BuildPackage,zyxel-reset))