distribution/packages/network/hostapd/package.mk
fewtarius ce3afb8bee
Adds support for local network play without an access point.
This feature adds support for connecting up to four JELOS devices together for RetroArch network play. To use:

* Select Games Settings -> Netplay Settings
  * NetPlay -> Enabled
  * Index Games

* Select Network Settings
  * Enable Local Play Mode
  * Select 1 (Host)
* Choose a game and press Y
  * Select Netplay Options
    * Select Host a Netplay Session

* Select Network Settings
  * Enable Local Play Mode
  * Select 2-4 (Clients)
* Choose a game and press Y
  * Select Netplay Options
    * Select Connect to a Netplay Session

The games should begin and all clients should connect.
2023-08-15 22:10:48 +00:00

22 lines
690 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present Fewtarius
PKG_NAME="hostapd"
PKG_VERSION="2.10"
PKG_LICENSE="GPL"
PKG_SITE="https://w1.fi/hostapd/"
PKG_URL="https://w1.fi/releases/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain dbus libnl openssl"
PKG_LONGDESC="A user space daemon for access point and authentication servers."
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="+lto-parallel"
PKG_MAKE_OPTS_TARGET="-C hostapd V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
PKG_MAKEINSTALL_OPTS_TARGET="-C hostapd V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
configure_target() {
LDFLAGS="${LDFLAGS} -lpthread -lm"
cp ${PKG_DIR}/config/makefile.config hostapd/.config
}