pkgsrc-WIP-changes archive

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

rtl_433: adding to wip, ready for import



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Mon May 24 12:32:45 2021 +0100
Changeset:	9292b0dbe975fd21b08538aedb7c69e842ee5251

Added Files:
	rtl_433/DESCR
	rtl_433/Makefile
	rtl_433/PLIST
	rtl_433/distinfo
	rtl_433/options.mk

Log Message:
rtl_433: adding to wip, ready for import

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9292b0dbe975fd21b08538aedb7c69e842ee5251

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rtl_433/DESCR      |  7 +++++++
 rtl_433/Makefile   | 39 +++++++++++++++++++++++++++++++++++++++
 rtl_433/PLIST      | 31 +++++++++++++++++++++++++++++++
 rtl_433/distinfo   |  6 ++++++
 rtl_433/options.mk | 15 +++++++++++++++
 5 files changed, 98 insertions(+)

diffs:
diff --git a/rtl_433/DESCR b/rtl_433/DESCR
new file mode 100644
index 0000000000..a506030678
--- /dev/null
+++ b/rtl_433/DESCR
@@ -0,0 +1,7 @@
+rtl_433 (despite the name) is a generic data receiver, mainly for the
+433.92 MHz, 868 MHz (SRD), 315 MHz, 345 MHz, and 915 MHz ISM bands.
+
+It works with RTL-SDR and/or SoapySDR. Actively tested and supported are
+Realtek RTL2832 based DVB dongles (using RTL-SDR) and LimeSDR (LimeSDR USB
+and LimeSDR mini engineering samples kindly provided by MyriadRf), PlutoSDR,
+HackRF One (using SoapySDR drivers), as well as SoapyRemote.
diff --git a/rtl_433/Makefile b/rtl_433/Makefile
new file mode 100644
index 0000000000..b37fc473c4
--- /dev/null
+++ b/rtl_433/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	rtl_433
+GITHUB_TAG=	21.05
+DISTNAME=	21.05
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	ham
+MASTER_SITES=	${MASTER_SITE_GITHUB:=merbanan/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://triq.org/rtl_433/
+COMMENT=	Generic data receiver
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}/build
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
+USE_CMAKE=	yes
+
+CMAKE_ARG_PATH=	..
+CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${PREFIX}/${PKGMANDIR}
+
+PKGCONFIG_OVERRIDE+=	rtl433.pc.in
+
+AUTO_MKDIRS=	yes
+
+pre-configure:
+	${RUN} ${MKDIR} ${WRKSRC}/build
+
+post-install:
+	${INSTALL_MAN} ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}/man/man1/rtl_433.1 \
+	        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${RM} -rf ${DESTDIR}${PREFIX}/share
+
+.include "options.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/rtl_433/PLIST b/rtl_433/PLIST
new file mode 100644
index 0000000000..c011a82d40
--- /dev/null
+++ b/rtl_433/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+bin/rtl_433
+etc/rtl_433/CAME-TOP432.conf
+etc/rtl_433/EV1527-4Button-Universal-Remote.conf
+etc/rtl_433/EV1527-PIR-Sgooway.conf
+etc/rtl_433/FAN-53T.conf
+etc/rtl_433/HeatmiserPRT-W.conf
+etc/rtl_433/MightyMule-FM231.conf
+etc/rtl_433/SMC5326-Remote.conf
+etc/rtl_433/SalusRT300RF.conf
+etc/rtl_433/Skylink_HA-434TL.conf
+etc/rtl_433/adlm_fprf.conf
+etc/rtl_433/atc-technology_lmt-430.conf
+etc/rtl_433/car_fob.conf
+etc/rtl_433/chungear_bcf-0019x2.conf
+etc/rtl_433/dooya_curtain.conf
+etc/rtl_433/energy_count_3000.conf
+etc/rtl_433/fan-11t.conf
+etc/rtl_433/friedlandevo.conf
+etc/rtl_433/led-light-remote.conf
+etc/rtl_433/pir-ef4.conf
+etc/rtl_433/rtl_433.example.conf
+etc/rtl_433/silverline_doorbell.conf
+etc/rtl_433/sonoff_rm433.conf
+etc/rtl_433/steffen_switch.conf
+etc/rtl_433/tesla_charge-port-opener.conf
+etc/rtl_433/valeo_car_key.conf
+etc/rtl_433/verisure_alarm.conf
+include/rtl_433.h
+include/rtl_433_devices.h
+man/man1/rtl_433.1
diff --git a/rtl_433/distinfo b/rtl_433/distinfo
new file mode 100644
index 0000000000..942bcda49b
--- /dev/null
+++ b/rtl_433/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (rtl_433/21.05.tar.gz) = 02f85589932c8702d84b708d848f379442bfea12
+RMD160 (rtl_433/21.05.tar.gz) = d05641c2b3760144cc14f7508f0ee677e12b30af
+SHA512 (rtl_433/21.05.tar.gz) = 8b81969de098f417b3f6695dc98c67ce7a4e7eb030b946b4ca6eb787fc935c9970e7247a8a99cd2a6f0ba53ecc7edbfa1da1a39e64c30c7fad7d558e76c94ae6
+Size (rtl_433/21.05.tar.gz) = 915608 bytes
diff --git a/rtl_433/options.mk b/rtl_433/options.mk
new file mode 100644
index 0000000000..a535a8917b
--- /dev/null
+++ b/rtl_433/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.rtl_433
+PKG_SUPPORTED_OPTIONS=		rtl-sdr soapy-sdr
+PKG_SUGGESTED_OPTIONS=		rtl-sdr soapy-sdr
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mrtl-sdr)
+.include "../../ham/rtl-sdr/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msoapy-sdr)
+.include "../../ham/soapy-sdr/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index