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

SRC_URI = " \
file://ipkg.conf.comments	\
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
}

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