Add openrrcp (#3206)
[openwrt/svn-archive/archive.git] / net / openrrcp / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8 #
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=openrrcp
12 PKG_VERSION:=0.2.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://nording.ru/projects/download/openrrcp/stable
17 PKG_MD5SUM:=e3d6097732af812b03dbbbedeced34d2
18 PKG_CAT:=zcat
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/openrrcp
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=OpenRRCP toolset for managing RRCP-capable Ethernet switches
26 URL:=http://openrrcp.org.ru/
27 endef
28
29 define Package/openrrcp/description
30 OpenRRCP toolset for managing RRCP-capable Ethernet switches
31 endef
32
33 define Build/Compile
34 $(call Build/Compile/Default, \
35 PREFIX="/usr" \
36 )
37 endef
38
39 define Package/openrrcp/install
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 DESTDIR="$(1)" \
42 PREFIX="/usr" \
43 install
44 endef
45
46 $(eval $(call BuildPackage,openrrcp))