2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/omcproxy.git
15 PKG_MIRROR_HASH
:=5e69aa12ca3bc1ecfb211e0ad40e0763a7e9dd99fc8b95b4d62b8c3d29df40bd
16 PKG_SOURCE_DATE
:=2021-11-04
17 PKG_SOURCE_VERSION
:=bfba2aa75802ff1a70ef2fd3eba53409a8c6e93a
18 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
19 PKG_LICENSE
:=Apache-2.0
21 include $(INCLUDE_DIR
)/package.mk
22 include $(INCLUDE_DIR
)/cmake.mk
24 define Package
/omcproxy
27 DEPENDS
:=+libubox
+libubus
28 TITLE
:=IGMPv3 and MLDv2 Multicast Proxy
31 define Package
/omcproxy
/conffiles
35 CMAKE_OPTIONS
+= -DWITH_LIBUBOX
=1
37 define Package
/omcproxy
/install
38 $(INSTALL_DIR
) $(1)/etc
/config
39 $(INSTALL_CONF
) .
/files
/omcproxy.config
$(1)/etc
/config
/omcproxy
40 $(INSTALL_DIR
) $(1)/etc
/init.d
41 $(INSTALL_BIN
) .
/files
/omcproxy.init
$(1)/etc
/init.d
/omcproxy
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/omcproxy
$(1)/usr
/sbin
/
46 $(eval
$(call BuildPackage
,omcproxy
))