2014-03-28 01:00:20 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dtv-scan-tables
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-10-29 14:11:06 +02:00
|
|
|
DTV_SCAN_TABLES_VERSION = ceb11833b35f05813b1f0397a60e0f3b99430aab
|
2014-06-01 23:43:34 +02:00
|
|
|
DTV_SCAN_TABLES_SITE = http://git.linuxtv.org/cgit.cgi/dtv-scan-tables.git
|
2014-03-28 01:00:20 +01:00
|
|
|
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
|
2017-04-17 11:27:13 +02:00
|
|
|
# license files (respectively for the GPL-2.0 and the LGPL-2.1), so we use
|
2014-03-28 01:00:20 +01:00
|
|
|
# that as the licensing information.
|
2017-03-30 15:43:34 +02:00
|
|
|
DTV_SCAN_TABLES_LICENSE = GPL-2.0, LGPL-2.1
|
2014-03-30 17:25:47 +02:00
|
|
|
DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LGPL
|
2014-03-28 01:00:20 +01:00
|
|
|
|
2016-11-14 22:20:36 +01:00
|
|
|
# In order to avoid issues with file name encodings, we rename the
|
|
|
|
# only dtv-scan-tables file that has non-ASCII characters to have a
|
|
|
|
# name using only ASCII characters (pl-Krosno_Sucha_Gora)
|
|
|
|
define DTV_SCAN_TABLES_FIX_NONASCII_FILENAMES
|
|
|
|
mv $(@D)/dvb-t/pl-Krosno_Sucha* $(@D)/dvb-t/pl-Krosno_Sucha_Gora
|
|
|
|
endef
|
|
|
|
|
|
|
|
DTV_SCAN_TABLES_POST_PATCH_HOOKS += DTV_SCAN_TABLES_FIX_NONASCII_FILENAMES
|
|
|
|
|
2014-03-28 01:00:20 +01:00
|
|
|
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))
|