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