Import hackrf-2018.01.1.

HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral
capable of transmission or reception of radio signals from 1 MHz to 6 GHz.
Designed to enable test and development of modern and next generation radio
technologies, HackRF One is an open source hardware platform that can be
used as a USB peripheral or programmed for stand-alone operation.

This package contains host software for HackRF.

ok sthen@
This commit is contained in:
bentley 2018-11-20 12:46:09 +00:00
parent 475fb725c6
commit 1747731d40
4 changed files with 56 additions and 0 deletions

35
comms/hackrf/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/11/20 12:46:09 bentley Exp $
COMMENT = host software for the HackRF One SDR
V = 2018.01.1
DISTNAME = hackrf-$V
SHARED_LIBS += hackrf 0.0 # 0.5
CATEGORIES = comms
HOMEPAGE = https://greatscottgadgets.com/hackrf/
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv2+ (tools), 3-clause BSD (library)
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c fftw3f m pthread usb-1.0
MASTER_SITES = https://github.com/mossmann/hackrf/releases/download/v$V/
EXTRACT_SUFX = .tar.xz
MODULES = devel/cmake
LIB_DEPENDS = devel/libusb1 \
math/fftw3,float
CONFIGURE_ARGS = -DCMAKE_C_FLAGS="${CFLAGS} -I${LOCALBASE}/include"
NO_TEST = Yes
WRKSRC = ${WRKDIST}/host
.include <bsd.port.mk>

2
comms/hackrf/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (hackrf-2018.01.1.tar.xz) = qJutwJodL6GDZ7OyyXRYCtX2zpOqpOVFV9w9ATwCnRQ=
SIZE (hackrf-2018.01.1.tar.xz) = 15464500

7
comms/hackrf/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral
capable of transmission or reception of radio signals from 1 MHz to 6 GHz.
Designed to enable test and development of modern and next generation radio
technologies, HackRF One is an open source hardware platform that can be
used as a USB peripheral or programmed for stand-alone operation.
This package contains host software for HackRF.

12
comms/hackrf/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/11/20 12:46:09 bentley Exp $
@bin bin/hackrf_cpldjtag
@bin bin/hackrf_debug
@bin bin/hackrf_info
@bin bin/hackrf_spiflash
@bin bin/hackrf_sweep
@bin bin/hackrf_transfer
include/libhackrf/
include/libhackrf/hackrf.h
lib/libhackrf.a
@lib lib/libhackrf.so.${LIBhackrf_VERSION}
lib/pkgconfig/libhackrf.pc