Files
ports/comms/hackrf/Makefile
T
sthen 223dd2dcf0 set COMPILER_LANGS=c for various C-only ports
add annotations near COMPILER for some other ports that don't have
COMPILER_LIBCXX in WANTLIB

not changing the actual compiler version of anything here (some could
possibly remove the COMPILER line completely where they only used
COMPILER due to an old WANTLIB entry which has since stopped using
C++, but changing that is too likely to break things)
2025-01-28 11:22:02 +00:00

39 lines
736 B
Makefile

COMMENT = host software for the HackRF One SDR
V = 2024.02.1
DISTNAME = hackrf-$V
REVISION = 0
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 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
.include <bsd.port.mk>