source "package/dmraid/Config.in"
source "package/dt-utils/Config.in"
source "package/dtv-scan-tables/Config.in"
+ source "package/dump1090/Config.in"
source "package/dvb-apps/Config.in"
source "package/dvbsnoop/Config.in"
source "package/edid-decode/Config.in"
--- /dev/null
+config BR2_PACKAGE_DUMP1090
+ bool "dump1090"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # librtlsdr
+ select BR2_PACKAGE_LIBSRTLSDR
+ help
+ Dump1090 is a simple Mode S decoder for RTLSDR devices
+
+ https://github.com/MalcolmRobb/dump1090
+
+comment "dump1090 needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+################################################################################
+#
+# dump1090
+#
+################################################################################
+
+DUMP1090_VERSION = bff92c4ad772a0a8d433f788d39dae97e00e4dbe
+DUMP1090_SITE = $(call github,MalcolmRobb,dump1090,$(DUMP1090_VERSION))
+DUMP1090_LICENSE = BSD-3-Clause
+# no real license file
+DUMP1090_LICENSE_FILES = anet.h
+DUMP1090_DEPENDENCIES = host-pkgconf librtlsdr
+
+define DUMP1090_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) PREFIX=/usr -C $(@D)
+endef
+
+define DUMP1090_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/dump1090 $(TARGET_DIR)/usr/bin/dump1090
+ $(INSTALL) -m 0755 -D $(@D)/view1090 $(TARGET_DIR)/usr/bin/view1090
+ $(INSTALL) -d $(TARGET_DIR)/usr/share/dump1090
+ cp -r $(@D)/public_html/* $(TARGET_DIR)/usr/share/dump1090
+endef
+
+$(eval $(generic-package))