pkgsrc/ham/gnuradio-zeromq/Makefile

29 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.38 2022/03/28 10:56:17 tnn Exp $
PKGNAME= gnuradio-zeromq-${VERSION}
PKGREVISION= 1
COMMENT= All of the zeromq blocks, utilities, and examples
# zmq.hpp: No such file or directory
# https://github.com/zeromq/cppzmq.git
#GIT_REPOSITORIES= master
#GIT_REPO.master= https://github.com/zeromq/cppzmq.git
#GIT_MODULE.master= cppzmq
# for work around, the file is copied to files directory
.include "../../ham/gnuradio-core/Makefile.common"
.include "../../ham/gnuradio-core/Nocore.mk"
CMAKE_ARGS+= -DENABLE_DEFAULT=OFF
CMAKE_ARGS+= -DENABLE_GR_ZEROMQ=ON
CMAKE_ARGS+= -DZEROMQ_INCLUDE_DIRS=${PREFIX}/include
CMAKE_ARGS+= -DENABLE_GRC=ON
PLIST_MINUS+= companion
post-patch:
${CP} ${PKGDIR}/files/zmq.hpp ${WRKSRC}/gr-zeromq/include/
.include "../../net/zeromq/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"