From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-devtools/opkg/opkg-collateral.bb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/opkg/opkg-collateral.bb (limited to 'meta/recipes-devtools/opkg/opkg-collateral.bb') diff --git a/meta/recipes-devtools/opkg/opkg-collateral.bb b/meta/recipes-devtools/opkg/opkg-collateral.bb new file mode 100644 index 0000000000..b121827ac7 --- /dev/null +++ b/meta/recipes-devtools/opkg/opkg-collateral.bb @@ -0,0 +1,24 @@ +SUMMARY = "Constructs the main configuration file for opkg" +SECTION = "base" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +PR = "r2" + +SRC_URI = "file://opkg.conf.comments \ + file://dest \ + file://src " + +OPKGLIBDIR = "${localstatedir}/lib" +do_compile () { + cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf + cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf + cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf + echo "lists_dir ext ${OPKGLIBDIR}/opkg" >>${WORKDIR}/opkg.conf +} + +do_install () { + install -d ${D}${sysconfdir}/opkg + install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf +} + +CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf" -- cgit v1.2.3-54-g00ecf