aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/rbextract/Makefile
blob: f50bbea1207e134940fdc68494f9c43248c625c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
# Copyright (C) 2018 Chris Schimp <silverchris@gmail.com>
# Copyright (C) 2019 Robert Marko <robimarko@gmail.com>
# Copyright (C) 2019 Roger Pueyo Centelles <roger.pueyo@guifi.net>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=rbextract
PKG_RELEASE:=3
CMAKE_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

define Package/rbextract
  SECTION:=utils
  CATEGORY:=Utilities
  SUBMENU:=Boot Loaders
  TITLE:=RouterBOOT ART Extractor
  DEPENDS:=@TARGET_ath79 +liblzo
endef

define Package/rbextract/description
 This utility is for extracting the WLAN radio calibration data from Mikrotik
 Routerboards.
endef

define Package/rbextract/install
	$(INSTALL_DIR) $(1)/usr/sbin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/rbextract $(1)/usr/sbin/
endef

$(eval $(call BuildPackage,rbextract))