summaryrefslogtreecommitdiff
path: root/packages/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ipkg')
-rw-r--r--packages/ipkg/ipkg-collateral.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/ipkg/ipkg-collateral.bb b/packages/ipkg/ipkg-collateral.bb
index e69de29bb2..cf66278453 100644
--- a/packages/ipkg/ipkg-collateral.bb
+++ b/packages/ipkg/ipkg-collateral.bb
@@ -0,0 +1,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
+}