summaryrefslogtreecommitdiff
path: root/packages/ipkg/ipkg-collateral.bb
blob: 5b3be64fa83bab2c335ebb2360a8f6a673065763 (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 = "r1"

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
}