mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
5ac5d0fab1
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
40 lines
778 B
Makefile
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>
|