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
11 PKG_VERSION
:=2015-08-24
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=https
://github.com
/sbyx
/omcproxy.git
18 PKG_SOURCE_VERSION
:=8de9fa84e018e152e45c342f10b5b5140b63e4b1
19 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
20 PKG_LICENSE
:=Apache-2.0
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
25 define Package
/omcproxy
28 DEPENDS
:=+libubox
+libubus
29 TITLE
:=IGMPv3 and MLDv2 Multicast Proxy
32 CMAKE_OPTIONS
+= -DWITH_LIBUBOX
=1
34 define Package
/omcproxy
/install
35 $(INSTALL_DIR
) $(1)/etc
/config
36 $(INSTALL_CONF
) .
/files
/omcproxy.config
$(1)/etc
/config
/omcproxy
37 $(INSTALL_DIR
) $(1)/etc
/init.d
38 $(INSTALL_BIN
) .
/files
/omcproxy.init
$(1)/etc
/init.d
/omcproxy
39 $(INSTALL_DIR
) $(1)/usr
/sbin
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/omcproxy
$(1)/usr
/sbin
/
43 $(eval
$(call BuildPackage
,omcproxy
))