summaryrefslogtreecommitdiffstats
path: root/net/openrrcp/Makefile
blob: 3d459628d251037b98151b04a43bea14fb4bfac5 (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
39
40
41
42
#
# Copyright (C) 2008-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
#
include $(TOPDIR)/rules.mk

PKG_NAME:=openrrcp
PKG_VERSION:=0.2.1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nording.ru/projects/download/openrrcp/stable
PKG_MD5SUM:=e3d6097732af812b03dbbbedeced34d2

include $(INCLUDE_DIR)/package.mk

define Package/openrrcp
  SECTION:=net
  CATEGORY:=Network
  TITLE:=OpenRRCP toolset for managing RRCP-capable Ethernet switches
  URL:=http://openrrcp.org.ru/
endef

define Package/openrrcp/description
	OpenRRCP toolset for managing RRCP-capable Ethernet switches
endef

MAKE_VARS += \
	PREFIX="/usr" \
	$(TARGET_CONFIGURE_OPTS)

define Package/openrrcp/install
	$(MAKE) -C $(PKG_BUILD_DIR) \
		DESTDIR="$(1)" \
		PREFIX="/usr" \
		install
endef

$(eval $(call BuildPackage,openrrcp))