1 # This is the include recipe for the midpath recipes for your platform.
3 # To support your particular platform, write a proper configuration, add
4 # a new recipe and decided which components it should install by modifying
6 require midpath-common.inc
8 RDEPENDS = "midpath-core midpath-core-bluetooth midpath-core-ogg midpath-core-mp3"
13 CONFIGURATION = "${@bb.fatal('Variable CONFIGURATION is not set in your midpath.inc-based recipe.')}"
20 # Installation of configuration.cfg:
21 # Creates a symbolic link at ${datadir}/midpath which points to ${sysconfdir}/midpath
22 install -d ${D}${datadir}/midpath/configuration/com/sun/midp/configuration
23 ln -sf ${sysconfdir}/midpath/configuration.cfg ${D}${datadir}/midpath/configuration/com/sun/midp/configuration/configuration.cfg
25 # Put the file itself into ${sysconfdir}/midpath
26 install -d ${D}${sysconfdir}/midpath
27 install -m 0644 ${WORKDIR}/${CONFIGURATION} ${D}${sysconfdir}/midpath/configuration.cfg
29 # Same procedure for MIDP2.0 required system properties
30 ln -sf ${sysconfdir}/midpath/system_properties ${D}${datadir}/midpath/configuration/com/sun/midp/configuration/system_properties
31 install -m 0644 configuration/com/sun/midp/configuration/system_properties ${D}${sysconfdir}/midpath
33 # Put l10n data into $datadir
34 install -d ${D}${datadir}/midpath/configuration/com/sun/midp/configuration/l10n
35 install -m 0644 configuration/com/sun/midp/configuration/l10n/en-US.xml ${D}${datadir}/midpath/configuration/com/sun/midp/configuration/l10n
41 ${datadir}/midpath/configuration \
42 ${sysconfdir}/midpath \
46 ${sysconfdir}/midpath/system_properties \
47 ${sysconfdir}/midpath/configuration.cfg \