pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/kalibrate-rtl ham/kalibrate-rtl: import kalibrate-...



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

description:
ham/kalibrate-rtl: import kalibrate-rtl-20131215

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

diffs (76 lines):

diff -r 4f89e278ce66 -r d591312f9351 ham/kalibrate-rtl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-rtl/DESCR   Thu Feb 07 14:03:50 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 4f89e278ce66 -r d591312f9351 ham/kalibrate-rtl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-rtl/Makefile        Thu Feb 07 14:03:50 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/02/07 14:03:50 tnn Exp $
+
+DISTNAME=      kalibrate-rtl-20131215
+CATEGORIES=    ham
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=steve-m/}
+GITHUB_TAG=    aae11c8a8dc79692a94ccfee39ba01e8c8c05d38
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/steve-m/kalibrate-rtl/
+COMMENT=       LO frequency offset calibration tool (rtl-sdr 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-rtl
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../ham/rtl-sdr/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4f89e278ce66 -r d591312f9351 ham/kalibrate-rtl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-rtl/PLIST   Thu Feb 07 14:03:50 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/07 14:03:50 tnn Exp $
+bin/kal-rtl
diff -r 4f89e278ce66 -r d591312f9351 ham/kalibrate-rtl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-rtl/distinfo        Thu Feb 07 14:03:50 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/07 14:03:50 tnn Exp $
+
+SHA1 (kalibrate-rtl-20131215-aae11c8a8dc79692a94ccfee39ba01e8c8c05d38.tar.gz) = eb3a199c307dc6f09aa7e17da2cc03e346e71305
+RMD160 (kalibrate-rtl-20131215-aae11c8a8dc79692a94ccfee39ba01e8c8c05d38.tar.gz) = 853deb328250dc1a162cb8cc5f4ddd4903ef880d
+SHA512 (kalibrate-rtl-20131215-aae11c8a8dc79692a94ccfee39ba01e8c8c05d38.tar.gz) = 
616cd296028e3010be6bfa21f95b51a95f6a38d51311472d17bad2ff0f45da18519e23c101c558793532a8b4f2628355c7e6347f26a6dddc044518f9fb378537
+Size (kalibrate-rtl-20131215-aae11c8a8dc79692a94ccfee39ba01e8c8c05d38.tar.gz) = 17229 bytes
+SHA1 (patch-src_kal.cc) = c4d8ffc72ea0d30eff21bab361ed9f2f8ba906c5
diff -r 4f89e278ce66 -r d591312f9351 ham/kalibrate-rtl/patches/patch-src_kal.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/kalibrate-rtl/patches/patch-src_kal.cc        Thu Feb 07 14:03:50 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_kal.cc,v 1.1 2019/02/07 14:03:50 tnn Exp $
+
+for basename(3)
+
+--- src/kal.cc.orig    2013-12-15 03:14:58.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