summaryrefslogtreecommitdiff
path: root/net/stubby
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-06-11 15:44:25 -0700
committerRosen Penev <rosenp@gmail.com>2021-06-11 15:46:18 -0700
commit4ebc8798555eb5c4628956ffec49dfc64453e898 (patch)
tree22fdcfde59633dd957a0c37d176d8b34f1ba6824 /net/stubby
parent8c0777e3bbb0c8c74a3490fc8221cd8ad0cf8348 (diff)
stubby: remove libidn2 and libunwind dependencies
There's no good way to get rid of these, so just delete the cmake files. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/stubby')
-rw-r--r--net/stubby/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/stubby/Makefile b/net/stubby/Makefile
index a78e6a9c8..30002c34e 100644
--- a/net/stubby/Makefile
+++ b/net/stubby/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=stubby
PKG_VERSION:=0.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
@@ -17,8 +17,6 @@ PKG_MAINTAINER:=Jonathan Underwood <jonathan.underwood@gmail.com>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
-CMAKE_INSTALL:=1
-
include $(INCLUDE_DIR)/package.mk
include ../../devel/ninja/ninja-cmake.mk
@@ -47,6 +45,11 @@ define Package/stubby/conffiles
/etc/config/stubby
endef
+define Build/Prepare
+ $(call Build/Prepare/Default)
+ rm $(PKG_BUILD_DIR)/cmake/modules/FindLibidn2.cmake $(PKG_BUILD_DIR)/cmake/modules/FindLibunbound.cmake
+endef
+
define Package/stubby/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby