Files
sebastia 5ac5d0fab1 update 2024.02.1 -> 2026.01.3
most notably adding support for HackRF Pro, that I tested with
with a number of consumers, as well as got reports for HackRF One.

Maintainer timeout
2026-06-03 21:04:18 +00:00

40 lines
778 B
Makefile

COMMENT = host software for the HackRF One SDR
V = 2026.01.3
DISTNAME = hackrf-$V
SHARED_LIBS += hackrf 0.1 # 0.8
CATEGORIES = comms
HOMEPAGE = https://greatscottgadgets.com/hackrf/
MAINTAINER = Bryan Vyhmeister <bryan@bsdjournal.net>
# GPLv2+ (tools), 3-clause BSD (library)
PERMIT_PACKAGE = Yes
WANTLIB += c fftw3f fftw3f_threads m pthread usb-1.0
SITES = https://github.com/mossmann/hackrf/releases/download/v$V/
EXTRACT_SUFX = .tar.xz
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MODULES = devel/cmake
LIB_DEPENDS = devel/libusb1 \
math/fftw3,float
CFLAGS += -I${LOCALBASE}/include
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
NO_TEST = Yes
WRKSRC = ${WRKDIST}/host
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
.include <bsd.port.mk>