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
13 PKG_SOURCE_URL
:=https
://github.com
/sbyx
/omcproxy.git
15 PKG_SOURCE_DATE
:=2017-02-14
16 PKG_SOURCE_VERSION
:=1fe6f48f8a5067685cbcf6427baf1b3e8b889da1
17 PKG_MIRROR_HASH
:=b5a5e09149bd08a945ada8a29a30c3e42834524747d7fd0911717f5a0ec59c72
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 CMAKE_OPTIONS
+= -DWITH_LIBUBOX
=1
33 define Package
/omcproxy
/install
34 $(INSTALL_DIR
) $(1)/etc
/config
35 $(INSTALL_CONF
) .
/files
/omcproxy.config
$(1)/etc
/config
/omcproxy
36 $(INSTALL_DIR
) $(1)/etc
/init.d
37 $(INSTALL_BIN
) .
/files
/omcproxy.init
$(1)/etc
/init.d
/omcproxy
38 $(INSTALL_DIR
) $(1)/usr
/sbin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/omcproxy
$(1)/usr
/sbin
/
42 $(eval
$(call BuildPackage
,omcproxy
))