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.xz
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_MIRROR_MD5SUM
:=e79dacf493155ebf7e0d9954dd007bb485d48819907bef6be4cda21bab769443
20 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
21 PKG_LICENSE
:=Apache-2.0
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/cmake.mk
26 define Package
/omcproxy
29 DEPENDS
:=+libubox
+libubus
30 TITLE
:=IGMPv3 and MLDv2 Multicast Proxy
33 CMAKE_OPTIONS
+= -DWITH_LIBUBOX
=1
35 define Package
/omcproxy
/install
36 $(INSTALL_DIR
) $(1)/etc
/config
37 $(INSTALL_CONF
) .
/files
/omcproxy.config
$(1)/etc
/config
/omcproxy
38 $(INSTALL_DIR
) $(1)/etc
/init.d
39 $(INSTALL_BIN
) .
/files
/omcproxy.init
$(1)/etc
/init.d
/omcproxy
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/omcproxy
$(1)/usr
/sbin
/
44 $(eval
$(call BuildPackage
,omcproxy
))