lua-rs232: fix compilation with GCC13
[feed/packages.git] / utils / zyxel-reset / Makefile
1 #
2 # Copyright (C) 2022 David Bauer <mail@david-bauer.net>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=zyxel-reset
11 PKG_SOURCE_DATE:=2022-12-23
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=https://github.com/blocktrron/zyxel-reset.git
16 PKG_SOURCE_VERSION:=e1def7b5f117c206afe15aa57ca7433eb972d5d1
17 PKG_MIRROR_HASH:=dc02f6afc5d083a7a62ec51b35b352595ef6c99a8192facb1bff7b7f90cec06a
18
19 PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
20 PKG_LICENSE:=GPL-2.0-only
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/zyxel-reset
25 SECTION:=utils
26 CATEGORY:=Utilities
27 TITLE:=Trigger factory-reset for ZyXEL APs
28 endef
29
30 define Package/zyxel-reset/description
31 This program can trigger a factory-reset on ZyXEL Access Points
32 running stock-firmware.
33 endef
34
35 define Package/zyxel-reset/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/zyxel-reset $(1)/usr/bin/zyxel-reset
38 endef
39
40 $(eval $(call BuildPackage,zyxel-reset))