summaryrefslogtreecommitdiff
path: root/ham/kalibrate-hackrf/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2019-02-07 14:03:22 +0000
committertnn <tnn@pkgsrc.org>2019-02-07 14:03:22 +0000
commitc9945eb9be6590ffdfd2f14891dd6746d6731cef (patch)
tree0915145e412ffd67c7df130d44bb484c4dceb54d /ham/kalibrate-hackrf/Makefile
parent08282026be123e82f958e743256b98e92d79c28b (diff)
downloadpkgsrc-c9945eb9be6590ffdfd2f14891dd6746d6731cef.tar.gz
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 (limited to 'ham/kalibrate-hackrf/Makefile')
-rw-r--r--ham/kalibrate-hackrf/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/ham/kalibrate-hackrf/Makefile b/ham/kalibrate-hackrf/Makefile
new file mode 100644
index 00000000000..11eb7fee4d2
--- /dev/null
+++ b/ham/kalibrate-hackrf/Makefile
@@ -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
+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"