packages/net/openrrcp/Makefile
florian 8bd3d69e8e openrrcp: allow passing our CFLAGS and LDFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-08 00:57:14 +00:00

43 lines
922 B
Makefile

#
# 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))