mirror of
https://github.com/openwrt/packages.git
synced 2025-09-29 16:43:00 +00:00
cmake 4.x will require 'cmake_minimum_required' defined in cmake projects to be at least 3.5. Adjust those local sources where that variable is currently defined with value below 3.5. Use 3.30 as the value, as 3.30 is currently used in 24.10, the oldest still supported OpenWrt release branch. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
32 lines
710 B
Makefile
32 lines
710 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rpcd-mod-wireguard
|
|
PKG_RELEASE=2
|
|
|
|
PKG_LICENSE:=LGPL-2.1+
|
|
PKG_BUILD_FLAGS:=gc-sections
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/rpcd-mod-wireguard
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=WireGuard rpcd module
|
|
DEPENDS:=+rpcd +kmod-wireguard
|
|
MAINTAINER:=Andre Heider <a.heider@gmail.com>
|
|
endef
|
|
|
|
define Package/rpcd-mod-wireguard/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/rpcd
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/rpcd/wireguard.so \
|
|
$(1)/usr/lib/rpcd/
|
|
endef
|
|
|
|
define Package/rpcd-mod-wireguard/postinst
|
|
#!/bin/sh
|
|
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,rpcd-mod-wireguard))
|