diff options
author | mef <mef> | 2014-10-13 13:07:13 +0000 |
---|---|---|
committer | mef <mef> | 2014-10-13 13:07:13 +0000 |
commit | 07b8f89d4d934ccca11e724a50043d98af3b0c5c (patch) | |
tree | b36b2577ebce47f741908e9cb9f3df9ec863b4d7 /ham/gr-fcdproplus/Makefile | |
parent | edc2b0988f7c3da81492f43a7d63189862411087 (diff) | |
download | pkgsrc-07b8f89d4d934ccca11e724a50043d98af3b0c5c.tar.gz |
Import ham/gr-fcdproplus as gr-fcdproplus-3.7.11
gr-fcdproplus is an linux and OSX addon for gnuradio to implement a
funcube dongle pro+ source.
On linux autodetects the correct soundcard from /proc/asound/cards.
This idea was taken from the osmosdr drivers.
To control the device the hidraw code of the hidapi is used.
Diffstat (limited to 'ham/gr-fcdproplus/Makefile')
-rw-r--r-- | ham/gr-fcdproplus/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ham/gr-fcdproplus/Makefile b/ham/gr-fcdproplus/Makefile new file mode 100644 index 00000000000..a8ae0b3cfe5 --- /dev/null +++ b/ham/gr-fcdproplus/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2014/10/13 13:07:13 mef Exp $ + +DISTNAME= gr-fcdproplus_3.7.11.orig +PKGNAME= ${DISTNAME:S/_/-/S/.orig//} +CATEGORIES= ham +MASTER_SITES+= ${MASTER_SITE_DEBIAN:=pool/main/g/gr-fcdproplus/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/dl1ksv/gr-fcdproplus +COMMENT= Addon for funcube dongle pro+ to GNU Radio +LICENSE= gnu-gpl-v2 + +USE_LANGUAGES= c c++ +USE_TOOLS= cmake +USE_CMAKE= yes + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +CXXFLAGS+= -I${PREFIX}/include/libusb-1.0 + +# Suppress warning for developer +CMAKE_ARGS+= -Wno-dev +CMAKE_ARGS+= -DGNURADIO_RUNTIME_INCLUDE_DIRS=${PREFIX}/include +PLIST_SUBST+= PYSITELIB=${PYSITELIB} + +SUBST_CLASSES+= libusb +SUBST_FILES.libusb+= CMakeLists.txt +SUBST_STAGE.libusb= pre-configure +SUBST_SED.libusb= -e 's,@@PREFIX@@,${PREFIX},' +SUBST_MESSAGE.libusb= Fix for "libusb.h not found" + +.include "../../devel/boost-headers/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../devel/libusb1/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/pyversion.mk" +.include "../../ham/gnuradio-core/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" |