Add more license tags with SPDX identifiers
[openwrt.git] / package / utils / robocfg / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
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:=robocfg
11 PKG_VERSION:=0.01
12 PKG_RELEASE:=1
13
14 PKG_LICENSE:=GPL-2.0
15 PKG_LICENSE_FILES:=
16
17 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/robocfg
22   SECTION:=utils
23   CATEGORY:=Utilities
24   TITLE:=BCM5325E/536x switch configuration utility
25 endef
26
27 define Package/robocfg/description
28  This package contains an utility for configuring the Broadcom BCM5325E/536x 
29  based switches.
30 endef
31
32 define Build/Prepare
33         mkdir -p $(PKG_BUILD_DIR)
34         $(CP) ./src/* $(PKG_BUILD_DIR)/
35 endef
36
37 define Package/robocfg/install
38         $(INSTALL_DIR) $(1)/sbin
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
40 endef
41
42 $(eval $(call BuildPackage,robocfg))