M7350/oe-core/meta/recipes-devtools/opkg/opkg-collateral.bb

23 lines
630 B
BlitzBasic
Raw Normal View History

2024-09-09 08:52:07 +00:00
DESCRIPTION = "opkg configuration files"
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://opkg.conf.comments \
file://lists \
file://dest \
file://src "
do_compile () {
cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf
cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf
cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf
cat ${WORKDIR}/lists >>${WORKDIR}/opkg.conf
}
do_install () {
install -d ${D}${sysconfdir}/
install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg.conf
}
CONFFILES_${PN} = "${sysconfdir}/opkg.conf"