mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
708a76faa7a1 build: require CMake >= 3.10 due to dropped legacy support Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
#
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=relayd
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/relayd.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_DATE:=2025-10-04
|
|
PKG_SOURCE_VERSION:=708a76faa7a1f2f62af83303efea0eb760d99c62
|
|
PKG_MIRROR_HASH:=64d579ca972b99c320971eab8726c42f3380053ce4685bc051bbcd586964b171
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/relayd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Routing and Redirection
|
|
TITLE:=Transparent routing / relay daemon
|
|
DEPENDS:=+libubox
|
|
endef
|
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
|
|
|
define Package/relayd/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/relayd $(1)/usr/sbin/relayd
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/relay.init $(1)/etc/init.d/relayd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,relayd))
|