Community maintained packages for ImmortalWrt.
Révision | 2d291763df4fc538699a2978800203aa4b14b4cd (tree) |
---|---|
l'heure | 2022-05-25 22:06:13 |
Auteur | Peter van Dijk <peter.van.dijk@powe...> |
Commiter | Tianling Shen |
h2o: remove useless ruby dependency
h2o is the library dnsdist uses to offer DNS over HTTPS to clients. dnsdist is the only user of h2o in this tree.
While h2o can depend on Ruby (to build mruby support), this is disabled in the OpenWRT build of h2o. Hence, the Ruby dependency is unnecessary, and removing it saves a few megabytes of disk space.
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit 6ffe955dccc1016031c3e2f60a5a37556645451a)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk | ||
2 | 2 | |
3 | 3 | PKG_NAME:=h2o |
4 | 4 | PKG_VERSION:=2.2.6 |
5 | -PKG_RELEASE:=7 | |
5 | +PKG_RELEASE:=8 | |
6 | 6 | |
7 | 7 | PKG_SOURCE_URL:=https://codeload.github.com/h2o/h2o/tar.gz/v${PKG_VERSION}? |
8 | 8 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
@@ -15,10 +15,9 @@ PKG_LICENSE_FILES:=LICENSE | ||
15 | 15 | include $(INCLUDE_DIR)/package.mk |
16 | 16 | include $(INCLUDE_DIR)/cmake.mk |
17 | 17 | |
18 | -PKG_BUILD_DEPENDS:=ruby/host libwslay | |
19 | -PKG_BUILD_PARALLEL:=1 | |
18 | +PKG_BUILD_DEPENDS:=libwslay | |
20 | 19 | |
21 | -CMAKE_OPTIONS:= \ | |
20 | +CMAKE_OPTIONS += \ | |
22 | 21 | -DBUILD_SHARED_LIBS=ON \ |
23 | 22 | -DWITH_MRUBY=OFF |
24 | 23 |
@@ -27,7 +26,7 @@ define Package/libh2o-evloop | ||
27 | 26 | CATEGORY:=Libraries |
28 | 27 | TITLE:=H2O Library compiled with its own event loop |
29 | 28 | URL:=https://h2o.examp1e.net/ |
30 | - DEPENDS:=+libopenssl +zlib +libyaml +ruby | |
29 | + DEPENDS:=+libopenssl +zlib +libyaml | |
31 | 30 | endef |
32 | 31 | |
33 | 32 | define Package/libh2o |
@@ -35,7 +34,7 @@ define Package/libh2o | ||
35 | 34 | CATEGORY:=Libraries |
36 | 35 | TITLE:=H2O Library compiled with libuv |
37 | 36 | URL:=https://h2o.examp1e.net/ |
38 | - DEPENDS:=+libuv +libopenssl +zlib +libyaml +ruby | |
37 | + DEPENDS:=+libuv +libopenssl +zlib +libyaml | |
39 | 38 | endef |
40 | 39 | |
41 | 40 | define Build/InstallDev |