meta-*: use d.{get,set}Var instead of bb.data.{get,set}Var
[opendreambox.git] / meta-opendreambox / recipes-dreambox / blindscan-utils / blindscan-utils.inc
1 SUMMARY = "Utilities needed to do transponder blindscan with dreambox dvb receivers"
2 DEPENDS = "ncurses"
3 INC_PR = "r1"
4
5 PACKAGES_DYNAMIC = "blindscan-*"
6
7 python populate_packages_prepend() {
8         bindir = bb.data.expand('${bindir}', d)
9         do_split_packages(d, bindir, '^(.*)$', 'blindscan-%s', 'scan tool for %s', extra_depends='', prepend=True)
10         packages = d.getVar('PACKAGES', True).split()
11         rdepends = []
12         for pkg in packages:
13                 if not pkg.startswith('blindscan-utils'):
14                         rdepends.append(pkg)
15         d.setVar('RDEPENDS_blindscan-utils', ' '.join(rdepends))
16 }
17
18 ALLOW_EMPTY_${PN} = "1"