2023-08-15 22:10:48 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
2023-08-15 22:10:48 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|