summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-10-01 18:47:29 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2012-10-18 20:32:53 +0200
commit7dbcebbbc8a69cc66f321e18cff65bc85fb1a301 (patch)
tree80f285ca408d95b02a53fa4422d8d58081d02cc4 /recipes
parent3378f8753aa5836a1d3f90b541e21d59df32042a (diff)
add other compatible feeds
Diffstat (limited to 'recipes')
-rw-r--r--recipes/trdx-config/angstrom-feed-configs.bb79
1 files changed, 0 insertions, 79 deletions
diff --git a/recipes/trdx-config/angstrom-feed-configs.bb b/recipes/trdx-config/angstrom-feed-configs.bb
deleted file mode 100644
index 2e2e58c..0000000
--- a/recipes/trdx-config/angstrom-feed-configs.bb
+++ /dev/null
@@ -1,79 +0,0 @@
-DESCRIPTION = "Configuration files for online package repositories aka feeds"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-
-#PV = "${DISTRO_VERSION}"
-PR = "r17"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-FEED_BASEPATH ?= "unstable/feed/"
-
-IWMMXT_FEED = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt', '',d)}"
-
-do_compile() {
- mkdir -p ${S}/${sysconfdir}/opkg
-
- for feed in base debug perl python gstreamer ; do
- echo "src/gz ${feed} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
- done
-
- #trdx: make available the feeds of other, but compatible arm architectures and of the unstable feeds
- echo "src/gz base2 ${ANGSTROM_URI}/feeds/next/ipk/eglibc/armv6/base" >> ${S}/${sysconfdir}/opkg/base-feed.conf
- echo "src/gz base3 ${ANGSTROM_URI}/feeds/next/ipk/eglibc/armv5te/base" >> ${S}/${sysconfdir}/opkg/base-feed.conf
- echo "src/gz base4 ${ANGSTROM_URI}/feeds/unstable/ipk/glibc/armv6/base" >> ${S}/${sysconfdir}/opkg/base-feed.conf
- echo "src/gz base5 ${ANGSTROM_URI}/feeds/unstable/ipk/glibc/armv5te/base" >> ${S}/${sysconfdir}/opkg/base-feed.conf
-
- echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/machine/${MACHINE_ARCH}" > ${S}/${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf
- echo "#src/gz sdk ${ANGSTROM_URI}/${FEED_BASEPATH}sdk" > ${S}/${sysconfdir}/opkg/sdk-feed.conf
- echo "src/gz no-arch ${ANGSTROM_URI}/${FEED_BASEPATH}all" > ${S}/${sysconfdir}/opkg/noarch-feed.conf
-
- # iwmmxt is a special case, add the iwmmxt feed for machine that have 'iwmmxt' in MACHINE_FEATURES
- if [ "${IWMMXT_FEED}" = "iwmmxt" ] ; then
- echo "src/gz iwmmxt ${ANGSTROM_URI}/${FEED_BASEPATH}iwmmxt/base" > ${S}/${sysconfdir}/opkg/iwmmxt-feed.conf
- fi
-
-
- for localepkg in a af am an ang ar as ast ay az be bg bn br bs byn ca co crh cs csb cy da de dv dz el en eo es et eu fa ff fi fo fr fur fy ga gd gez gl gn gu gv ha haw he hi hr hsb ht hu hy ia id ig io is it iu iw ja ka kk kl km kn ko kok ks ku kw ky la lg li lo locale lt lv mai mg mi mk ml mn mr ms mt mvo my nb ne nl nn no nr nso oc om or pa pap pis pl ps pt qu ro ru rw sa sd se si sid sk sl so sp sq sr ss st sv sw syr ta te tet tg th ti tig tk tl tn tpi tr ts tt ug uk ur uz ve vi wa wal wo xh yi yo zh zu ; do
- echo "src/gz locale-${localepkg}-feed ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/locales/${localepkg}" > ${S}/${sysconfdir}/opkg/locale-${localepkg}-feed.conf
- done
-}
-
-
-do_install () {
- install -d ${D}${sysconfdir}/opkg
- install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
-}
-
-FILES_${PN} = "${sysconfdir}/opkg/base-feed.conf \
- ${sysconfdir}/opkg/debug-feed.conf \
- ${sysconfdir}/opkg/perl-feed.conf \
- ${sysconfdir}/opkg/python-feed.conf \
- ${sysconfdir}/opkg/gstreamer-feed.conf \
- ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \
- ${sysconfdir}/opkg/noarch-feed.conf \
- ${sysconfdir}/opkg/iwmmxt-feed.conf \
- ${sysconfdir}/opkg/sdk-feed.conf \
- "
-
-CONFFILES_${PN} += "${sysconfdir}/opkg/base-feed.conf \
- ${sysconfdir}/opkg/debug-feed.conf \
- ${sysconfdir}/opkg/perl-feed.conf \
- ${sysconfdir}/opkg/python-feed.conf \
- ${sysconfdir}/opkg/gstreamer-feed.conf \
- ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \
- ${sysconfdir}/opkg/noarch-feed.conf \
- ${sysconfdir}/opkg/sdk-feed.conf \
- "
-
-# Get rid of opkg-collateral
-RCONFLICTS_${PN} = "opkg-collateral"
-RREPLACES_${PN} = "opkg-collateral"
-RPROVIDES_${PN} = "opkg-collateral"
-
-RRECOMMENDS_${PN} += "opkg"
-
-python populate_packages_prepend () {
- etcdir = bb.data.expand('${sysconfdir}/opkg', d)
- do_split_packages(d, etcdir, '^locale-(.*)\.conf$', 'angstrom-locale-%s-config', 'Angstrom feed config for the %s locale', extra_depends='', allow_links=True)
-}
-