OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | # |
1 | # |
|
2 | # Copyright (C) 2015 OpenWrt.org |
2 | # Copyright (C) 2015 OpenWrt.org |
|
3 | # |
3 | # |
|
4 | # This is free software, licensed under the GNU General Public License v2. |
4 | # This is free software, licensed under the GNU General Public License v2. |
|
5 | # See /LICENSE for more information. |
5 | # See /LICENSE for more information. |
|
6 | # |
6 | # |
|
7 | |
7 | |
|
8 | include $(TOPDIR)/rules.mk |
8 | include $(TOPDIR)/rules.mk |
|
9 | |
9 | |
|
10 | PKG_NAME:=omcproxy |
10 | PKG_NAME:=omcproxy |
|
11 | PKG_RELEASE:=9 |
11 | PKG_RELEASE:=4 |
|
- | 12 | |
||
12 | |
13 | PKG_SOURCE_URL:=https://github.com/sbyx/omcproxy.git |
|
13 | PKG_SOURCE_PROTO:=git |
- | ||
14 | PKG_SOURCE_URL=$(PROJECT_GIT)/project/omcproxy.git |
14 | PKG_SOURCE_PROTO:=git |
|
15 | PKG_SOURCE_DATE:=2018-12-14 |
15 | PKG_SOURCE_DATE:=2017-02-14 |
|
16 | PKG_SOURCE_VERSION:=722151f04348cf1b759613c087bced52fb45790a |
16 | PKG_SOURCE_VERSION:=1fe6f48f8a5067685cbcf6427baf1b3e8b889da1 |
|
17 | PKG_MIRROR_HASH:=4d218923c149e2dc9010b8932ea92ab7e06f30df06814ffedaba7e081f2d4640 |
17 | PKG_MIRROR_HASH:=b5a5e09149bd08a945ada8a29a30c3e42834524747d7fd0911717f5a0ec59c72 |
|
18 | PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org> |
18 | PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org> |
|
19 | PKG_LICENSE:=Apache-2.0 |
19 | PKG_LICENSE:=Apache-2.0 |
|
20 | |
20 | |
|
21 | include $(INCLUDE_DIR)/package.mk |
21 | include $(INCLUDE_DIR)/package.mk |
|
22 | include $(INCLUDE_DIR)/cmake.mk |
22 | include $(INCLUDE_DIR)/cmake.mk |
|
23 | |
23 | |
|
24 | define Package/omcproxy |
24 | define Package/omcproxy |
|
25 | SECTION:=net |
25 | SECTION:=net |
|
26 | CATEGORY:=Network |
26 | CATEGORY:=Network |
|
27 | DEPENDS:=+libubox +libubus |
27 | DEPENDS:=+libubox +libubus |
|
28 | TITLE:=IGMPv3 and MLDv2 Multicast Proxy |
28 | TITLE:=IGMPv3 and MLDv2 Multicast Proxy |
|
29 | endef |
29 | endef |
|
30 | |
- | ||
31 | define Package/omcproxy/conffiles |
- | ||
32 | /etc/config/omcproxy |
- | ||
33 | endef |
- | ||
34 | |
30 | |
|
35 | CMAKE_OPTIONS += -DWITH_LIBUBOX=1 |
31 | CMAKE_OPTIONS += -DWITH_LIBUBOX=1 |
|
36 | |
32 | |
|
37 | define Package/omcproxy/install |
33 | define Package/omcproxy/install |
|
38 | $(INSTALL_DIR) $(1)/etc/config |
34 | $(INSTALL_DIR) $(1)/etc/config |
|
39 | $(INSTALL_CONF) ./files/omcproxy.config $(1)/etc/config/omcproxy |
35 | $(INSTALL_CONF) ./files/omcproxy.config $(1)/etc/config/omcproxy |
|
40 | $(INSTALL_DIR) $(1)/etc/init.d |
36 | $(INSTALL_DIR) $(1)/etc/init.d |
|
41 | $(INSTALL_BIN) ./files/omcproxy.init $(1)/etc/init.d/omcproxy |
37 | $(INSTALL_BIN) ./files/omcproxy.init $(1)/etc/init.d/omcproxy |
|
42 | $(INSTALL_DIR) $(1)/usr/sbin |
38 | $(INSTALL_DIR) $(1)/usr/sbin |
|
43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/omcproxy $(1)/usr/sbin/ |
39 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/omcproxy $(1)/usr/sbin/ |
|
44 | endef |
40 | endef |
|
45 | |
41 | |
|
46 | $(eval $(call BuildPackage,omcproxy)) |
42 | $(eval $(call BuildPackage,omcproxy)) |
|
47 | |
43 | |