Browse Source

Merge pull request #15837 from neheb/st

stubby: remove libidn2 and libunwind dependencies
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
e033dcfe5f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      net/stubby/Makefile

+ 6
- 3
net/stubby/Makefile View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=stubby PKG_NAME:=stubby
PKG_VERSION:=0.4.0 PKG_VERSION:=0.4.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME) 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:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../devel/ninja/ninja-cmake.mk include ../../devel/ninja/ninja-cmake.mk
@ -47,6 +45,11 @@ define Package/stubby/conffiles
/etc/config/stubby /etc/config/stubby
endef 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 define Package/stubby/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby


Loading…
Cancel
Save