Álvaro Fernández Rojas 23fdbd4e71 omcproxy: update to latest version
Changelog: bfba2aa758...582cd8d3ae

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18130
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-27 11:52:27 +01:00

47 lines
1.2 KiB
Makefile

#
# 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
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/omcproxy.git
PKG_MIRROR_HASH:=b18c6dcc323dc35cfeb3503562dd3d8b9fb27fcf6ddd98690a64bd709920ff3d
PKG_SOURCE_DATE:=2025-02-27
PKG_SOURCE_VERSION:=582cd8d3ae7e6af0073ce1d9198387af48affd60
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
PKG_LICENSE:=Apache-2.0
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
define Package/omcproxy/conffiles
/etc/config/omcproxy
endef
CMAKE_OPTIONS += -DWITH_LIBUBOX=1
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))