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

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

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

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

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