2015-08-24 08:28:11 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2015 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:=omcproxy
|
2019-02-26 23:14:17 +00:00
|
|
|
PKG_RELEASE:=9
|
2015-08-24 08:28:11 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-12-16 18:20:39 +00:00
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/omcproxy.git
|
2021-11-04 13:04:45 +00:00
|
|
|
PKG_MIRROR_HASH:=6443276368dc7d45ee58bd7067da6c3a85396d9996039232cae3bdd426382f0c
|
|
|
|
PKG_SOURCE_DATE:=2021-11-04
|
|
|
|
PKG_SOURCE_VERSION:=bfba2aa75802ff1a70ef2fd3eba53409a8c6e93a
|
2015-08-24 08:28:11 +00:00
|
|
|
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
|
2015-10-26 09:01:48 +00:00
|
|
|
PKG_LICENSE:=Apache-2.0
|
2015-08-24 08:28:11 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/omcproxy
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libubox +libubus
|
|
|
|
TITLE:=IGMPv3 and MLDv2 Multicast Proxy
|
|
|
|
endef
|
|
|
|
|
2019-02-26 23:14:17 +00:00
|
|
|
define Package/omcproxy/conffiles
|
|
|
|
/etc/config/omcproxy
|
|
|
|
endef
|
|
|
|
|
2015-08-24 08:53:16 +00:00
|
|
|
CMAKE_OPTIONS += -DWITH_LIBUBOX=1
|
2015-08-24 08:28:11 +00:00
|
|
|
|
|
|
|
define Package/omcproxy/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/omcproxy.config $(1)/etc/config/omcproxy
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/omcproxy.init $(1)/etc/init.d/omcproxy
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/omcproxy $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,omcproxy))
|