xref: /OK3568_Linux_fs/buildroot/package/dtv-scan-tables/dtv-scan-tables.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# dtv-scan-tables
4#
5################################################################################
6
7DTV_SCAN_TABLES_VERSION = 6d019038cd04e837d9dd58701202c15924c1c654
8DTV_SCAN_TABLES_SITE = https://git.linuxtv.org/dtv-scan-tables.git
9DTV_SCAN_TABLES_SITE_METHOD = git
10
11# This package only contains the transponders data. This is not a 'work'
12# as per traditional copyright, but just a collection of 'facts', so there's
13# probably no license to apply to these data files.
14# However, the package prominently contains the COPYING and COPYING.LIB
15# license files (respectively for the GPL-2.0 and the LGPL-2.1), so we use
16# that as the licensing information.
17DTV_SCAN_TABLES_LICENSE = GPL-2.0, LGPL-2.1
18DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LGPL
19
20define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS
21	for f in atsc dvb-c dvb-s dvb-t; do \
22		$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \
23		$(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \
24	done
25endef
26
27$(eval $(generic-package))
28