summaryrefslogtreecommitdiff
path: root/unik-olsrd
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
committerBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
commit8503fbded7f04b1abf0b01886a278ad999f4ab5b (patch)
treed7ac1657ed1ef727b99eb5fd8b131eb6fe8e20f6 /unik-olsrd
parent8f8ce3d7ee813c5b2e9950ab160a7935715658a5 (diff)
Merge oe-devel@oe-devel.bkbits.net:packages
into null.(none):/data/mtx/oe/packages 2004/12/02 19:05:10+01:00 (none)!br1 added some more licenses to SRC_DISTRIBUTE_LICENSES. replaced as-is licenses with packagename. made packagname licenses lowercase 2004/12/02 18:30:48+01:00 (none)!br1 little nylon updates 2004/12/02 18:29:36+01:00 (none)!br1 added CONFFILES for nylon. once CONFFILES should be used in all oe, the "_nylon" part can be removed 2004/12/02 17:19:19+01:00 (none)!br1 src_distribute: better output when LICENSE is not valid BKrev: 41af59791fZQQgIzG_GWbh0227Ar0w
Diffstat (limited to 'unik-olsrd')
-rw-r--r--unik-olsrd/files/olsrd.conf0
-rw-r--r--unik-olsrd/unik-olsrd_cvs.oe13
2 files changed, 10 insertions, 3 deletions
diff --git a/unik-olsrd/files/olsrd.conf b/unik-olsrd/files/olsrd.conf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/unik-olsrd/files/olsrd.conf
diff --git a/unik-olsrd/unik-olsrd_cvs.oe b/unik-olsrd/unik-olsrd_cvs.oe
index d799aa82fc..bbe93001ce 100644
--- a/unik-olsrd/unik-olsrd_cvs.oe
+++ b/unik-olsrd/unik-olsrd_cvs.oe
@@ -8,21 +8,28 @@ LICENSE = "BSD"
PV = "cvs${CVSDATE}"
SRC_URI="cvs://anonymous@cvs.sourceforge.net/cvsroot/olsrd;module=olsrd-current \
- file://unik-olsrd"
+ file://unik-olsrd \
+ file://olsrd.conf"
PACKAGES =+ "unik-olsrd-libs"
FILES_unik-olsrd-libs = "${libdir}"
S = "${WORKDIR}/olsrd-current"
+inherit update-rc.d
+
+INITSCRIPT_NAME = "unik-olsrd"
+INITSCRIPT_PARAMS = "defaults"
+
do_compile() {
oe_runmake OS=linux clean all libs
}
do_install () {
oe_runmake INSTALL_PREFIX=${D} install install_libs
- install -d ${D}/etc/init.d
+ install -d ${D}/${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/unik-olsrd ${D}/${sysconfdir}/init.d
+ install -m 644 ${WORKDIR}/olsrd.conf ${D}/${sysconfdir}
}
-CONFFILES_${PN} = "/etc/olsrd.conf"
+CONFFILES_${PN} = "${sysconfdir}/olsrd.conf"