distribution/packages/virtual/network/package.mk

38 lines
1.2 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
PKG_NAME="network"
PKG_VERSION=""
PKG_LICENSE="various"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
2023-03-24 10:01:32 +00:00
PKG_DEPENDS_TARGET="toolchain connman netbase ethtool openssh iw rsync tailscale avahi miniupnpc nss-mdns bluetool"
2022-02-05 14:23:32 +00:00
PKG_SECTION="virtual"
PKG_LONGDESC="Metapackage for various packages to install network support"
2022-07-01 20:17:33 +00:00
if [ "${BLUETOOTH_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} bluez"
2022-02-05 14:23:32 +00:00
fi
2022-07-01 20:17:33 +00:00
if [ "${SAMBA_SERVER}" = "yes" ] || [ "$SAMBA_SUPPORT" = "yes" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} samba"
2022-02-05 14:23:32 +00:00
fi
2022-07-01 20:17:33 +00:00
if [ "${OPENVPN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} openvpn"
2022-02-05 14:23:32 +00:00
fi
2022-07-01 20:17:33 +00:00
if [ "${WIREGUARD_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} wireguard-tools"
2022-02-05 14:23:32 +00:00
fi
2023-05-09 11:25:30 +00:00
if [ "${ZEROTIER_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} zerotier-one"
fi
2022-02-05 14:23:32 +00:00
# nss needed by inputstream.adaptive, chromium etc.
2022-07-01 20:17:33 +00:00
if [ "${TARGET_ARCH}" = "x86_64" ] || [ "${TARGET_ARCH}" = "arm" ]; then
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} nss"
2022-02-05 14:23:32 +00:00
fi