enigma2-plugin-extensions-curlytx: new recipe
[opendreambox.git] / meta-opendreambox / recipes-core / distro-feed-configs / distro-feed-configs.inc
1 DESCRIPTION = "Configuration files for online package repositories aka feeds (${PKGTYPE} version)"
2 LICENSE = "MIT"
3 LIC_FILES_CHKSUM = "file://${OPENDREAMBOX_BASE}/LICENSE;md5=8f242b441da515e30c7b07f2cc6f4d5c"
4
5 DISTRO_FEED_PREFIX ?= "remote"
6 DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/"
7
8 FEED_ARCHS = "all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
9
10 do_compile_prepend() {
11     install -d ${S}${PKGCONFDIR}
12 }
13 do_install() {
14     install -d ${D}${PKGCONFDIR}
15     install -m 0644 ${S}${PKGCONFDIR}/*-feed.${PKGCONFSUFFIX} ${D}${PKGCONFDIR}
16 }
17
18 PACKAGE_ARCH = "${MACHINE_ARCH}"
19
20 CONFFILES_${PN} += '${@" ".join([("${PKGCONFDIR}/%s-feed.${PKGCONFSUFFIX}" % feed) for feed in "${FEED_ARCHS}".split()])}'
21
22 RPROVIDES_${PN} = "distro-feed-configs"
23 RCONFLICTS_${PN} = "distro-feed-configs"