Files
ports/comms/hackrf/Makefile
T

39 lines
736 B
Makefile
Raw Normal View History

2018-11-20 12:46:09 +00:00
COMMENT = host software for the HackRF One SDR
2024-11-18 02:35:49 +00:00
V = 2024.02.1
2018-11-20 12:46:09 +00:00
DISTNAME = hackrf-$V
REVISION = 0
2018-11-20 12:46:09 +00:00
2024-11-18 02:35:49 +00:00
SHARED_LIBS += hackrf 0.1 # 0.8
2018-11-20 12:46:09 +00:00
CATEGORIES = comms
HOMEPAGE = https://greatscottgadgets.com/hackrf/
2024-11-18 02:35:49 +00:00
MAINTAINER = Bryan Vyhmeister <bryan@bsdjournal.net>
2018-11-20 12:46:09 +00:00
# GPLv2+ (tools), 3-clause BSD (library)
PERMIT_PACKAGE = Yes
2018-11-20 12:46:09 +00:00
WANTLIB += c fftw3f m pthread usb-1.0
2023-09-20 06:52:54 +00:00
SITES = https://github.com/mossmann/hackrf/releases/download/v$V/
2018-11-20 12:46:09 +00:00
EXTRACT_SUFX = .tar.xz
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
2018-11-20 12:46:09 +00:00
MODULES = devel/cmake
LIB_DEPENDS = devel/libusb1 \
math/fftw3,float
2022-05-28 06:19:58 +00:00
CFLAGS += -I${LOCALBASE}/include
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
2018-11-20 12:46:09 +00:00
NO_TEST = Yes
WRKSRC = ${WRKDIST}/host
.include <bsd.port.mk>