pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/kalibrate-hackrf ham/kalibrate-hackrf: import kali...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/273eddfedd89
branches:  trunk
changeset: 391441:273eddfedd89
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Feb 07 14:03:22 2019 +0000

description:
ham/kalibrate-hackrf: import kalibrate-hackrf-20160704

kalibrate, or kal, can scan for GSM base stations in a given frequency band
and can use those GSM base stations to calculate the local oscillator
frequency offset.

diffstat:

 ham/kalibrate-hackrf/DESCR                    |   3 ++
 ham/kalibrate-hackrf/Makefile                 |  28 +++++++++++++++++++++++++++
 ham/kalibrate-hackrf/PLIST                    |   2 +
 ham/kalibrate-hackrf/distinfo                 |   7 ++++++
 ham/kalibrate-hackrf/patches/patch-src_kal.cc |  16 +++++++++++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r e9993558147d -r 273eddfedd89 ham/kalibrate-hackrf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-hackrf/DESCR        Thu Feb 07 14:03:22 2019 +0000
@@ -0,0 +1,3 @@
+kalibrate, or kal, can scan for GSM base stations in a given frequency band
+and can use those GSM base stations to calculate the local oscillator
+frequency offset.
diff -r e9993558147d -r 273eddfedd89 ham/kalibrate-hackrf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-hackrf/Makefile     Thu Feb 07 14:03:22 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+DISTNAME=      kalibrate-hackrf-20160704
+CATEGORIES=    ham
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=scateu/}
+GITHUB_TAG=    2492c20822ca6a49dce97967caf394b1d4b2c43e
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/scateu/kalibrate-hackrf/
+COMMENT=       LO frequency offset calibration tool (hackrf fork)
+LICENSE=       2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS=     autoconf automake autoreconf pkg-config
+
+INSTALLATION_DIRS=     bin
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -if
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/kal ${DESTDIR}${PREFIX}/bin/kal-hackrf
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../ham/hackrf/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e9993558147d -r 273eddfedd89 ham/kalibrate-hackrf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-hackrf/PLIST        Thu Feb 07 14:03:22 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/07 14:03:22 tnn Exp $
+bin/kal-hackrf
diff -r e9993558147d -r 273eddfedd89 ham/kalibrate-hackrf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-hackrf/distinfo     Thu Feb 07 14:03:22 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+SHA1 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = bc9143c46722daa0f1488f85eca869e89a472b76
+RMD160 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 3b9d6b5e9c65774a637d2a2c1a71894f116c8403
+SHA512 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 
0e2f54f9423c9250903ea9b53e11aee47b84c40fbb2f488b048617f128d4f1b77bcf39a3fe5c133526f51a2d613185cfdbae1b1586f11c87a004b23f24737092
+Size (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 21631 bytes
+SHA1 (patch-src_kal.cc) = b5ec464fb0d1ef2df4106119572dc8393b846692
diff -r e9993558147d -r 273eddfedd89 ham/kalibrate-hackrf/patches/patch-src_kal.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-hackrf/patches/patch-src_kal.cc     Thu Feb 07 14:03:22 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_kal.cc,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+for basename(3)
+
+--- src/kal.cc.orig    2016-07-04 03:55:59.000000000 +0000
++++ src/kal.cc
+@@ -48,9 +48,7 @@
+ #include <unistd.h>
+ #include <sys/time.h>
+ #endif
+-#ifdef D_HOST_OSX
+ #include <libgen.h>
+-#endif /* D_HOST_OSX */
+ #include <string.h>
+ 
+ #include <errno.h>



Home | Main Index | Thread Index | Old Index