summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg-collateral.bb
blob: 79c741d7be8eb96059b41312e9cc67ca15489174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "opkg configuration files"
SECTION = "base"
LICENSE = "MIT"

SRC_URI = "file://opkg.conf.comments \
	   file://lists \
	   file://dest \
	   file://src "

do_compile () {
	cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf
	cat ${WORKDIR}/src	>>${WORKDIR}/opkg.conf
	cat ${WORKDIR}/dest	>>${WORKDIR}/opkg.conf
	cat ${WORKDIR}/lists	>>${WORKDIR}/opkg.conf
}

do_install () {
	install -d ${D}${sysconfdir}/
	install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf
}

CONFFILES_${PN} = "${sysconfdir}/opkg.conf"