File:  [cvs.NetBSD.org] / pkgsrc / ham / gnuradio-uhd / Makefile
Revision 1.66: download - view: text, annotated - select for diffs
Tue Jul 16 10:02:03 2024 UTC (7 months ago) by prlw1
Branches: MAIN
CVS tags: HEAD
Revbump for fmtlib 11.0.1
Pointed out by David Gutteridge on pkgsrc-changes

# $NetBSD: Makefile,v 1.66 2024/07/16 10:02:03 prlw1 Exp $

PKGNAME=	gnuradio-uhd-${VERSION}
PKGREVISION=	4
COMMENT=	Uhd-based encoding and decoding algorithms for GNU Radio

.include "../../ham/gnuradio-core/Makefile.common"
.include "../../ham/gnuradio-core/Nocore.mk"

CMAKE_ARGS+=	-DENABLE_DEFAULT=OFF
CMAKE_ARGS+=	-DENABLE_GR_UHD=ON
CMAKE_ARGS+=	-DENABLE_PYTHON=ON
CMAKE_ARGS+=	-DENABLE_GRC=ON

PLIST_MINUS+=	companion

.if ${OPSYS} != "Darwin"
# XXX dbj -- i'm not sure why this is necessary, but hard coding
# the .so causes problems on Darwin.  I've also set UHD_DIR in
# the uhd buildlink3.mk file, so it finds the buildlink header files.

CMAKE_ARGS+=	-DUHD_LIBRARIES=${PREFIX}/lib/libuhd.so
CMAKE_ARGS+=	-DUHD_INCLUDE_DIRS=${PREFIX}/include/uhd/usrp
.endif

.include "../../ham/uhd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>