source "package/dmraid/Config.in"
source "package/dvb-apps/Config.in"
source "package/dvbsnoop/Config.in"
+source "package/dtv-scan-tables/Config.in"
source "package/eeprog/Config.in"
source "package/eudev/Config.in"
source "package/evemu/Config.in"
--- /dev/null
+config BR2_PACKAGE_DTV_SCAN_TABLES
+ bool "dtv-scan-tables"
+ # dvb-apps installs its own set of transponder data
+ depends on !BR2_PACKAGE_DVB_APPS
+ help
+ The Digital TV scan tables.
+
+ http://git.linuxtv.org/dtv-scan-tables.git
--- /dev/null
+################################################################################
+#
+# dtv-scan-tables
+#
+################################################################################
+
+DTV_SCAN_TABLES_VERSION = cfc29758d1357b724f3bf27c3b1b277e242841fa
+DTV_SCAN_TABLES_SITE = http://linuxtv.org/git/dtv-scan-tables.git
+DTV_SCAN_TABLES_SITE_METHOD = git
+
+# This package only contains the transponders data. This is not a 'work'
+# as per traditional copyright, but just a collection of 'facts', so there's
+# probably no license to apply to these data files.
+# However, the package prominently contains the COPYING and COPYING.LIB
+# license files (respectively for the GPLv2 and the LGPLv2.1), so we use
+# that as the licensing information.
+DTV_SCAN_TABLES_LICENSE = GPLv2 LGPLv2.1
+DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LIB
+
+define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS
+ for f in atsc dvb-c dvb-s dvb-t; do \
+ $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \
+ $(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \
+ done
+endef
+
+$(eval $(generic-package))