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

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
}