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

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
}