summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/openmoko-community-repository.bb
blob: d866558fb3e717446888ad0e5f720b346b9922ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.02"

do_compile() {
    mkdir -p ${S}/${sysconfdir}/opkg
    for feed in Multiverse; do
        echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
    done
}
do_install () {
        install -d ${D}${sysconfdir}/opkg
        install -m 0644  ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

CONFFILES_${PN} += "${sysconfdir}/opkg/Multiverse-feed.conf"

PKG_TAGS_${PN} = "group::repos"

OPENMOKO_URI = "http://downloads.openmoko.org/repository"