Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Tue, 24 May 2005 17:40:07 +0000 (17:40 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Tue, 24 May 2005 17:40:07 +0000 (17:40 +0000)
into  bkbits.net:/repos/n/nslu2-linux/openembedded

2005/05/24 18:00:40+01:00 reciva.com!pb
improve howl packaging

BKrev: 429366f7YSGF1ysfBpteBV5NMhVVlQ

BitKeeper/etc/logging_ok
packages/howl/files/mdnsresponder.init [new file with mode: 0644]
packages/howl/howl_1.0.0.bb

index 694b939..520036c 100644 (file)
@@ -89,6 +89,7 @@ patrick@gollum.(none)
 pb@dixie.nexus.co.uk
 pb@mebius.(none)
 pb@mebius.reciva.com
+pb@mill.internal.reciva.com
 pb@mill.nexus.co.uk
 pb@stealth.(none)
 pb@stealth.nexus.co.uk
diff --git a/packages/howl/files/mdnsresponder.init b/packages/howl/files/mdnsresponder.init
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..9acc330 100644 (file)
@@ -0,0 +1,28 @@
+SRC_URI = "http://www.porchdogsoft.com/download/howl-${PV}.tar.gz \
+       file://posix.patch;patch=1;pnum=0 \
+       file://configure.patch;patch=1;pnum=0 \
+       file://mdnsresponder.init"
+LICENSE = "howl"
+
+PR = "r2"
+
+INITSCRIPT_NAME = "mdnsresponder"
+INITSCRIPT_PARAMS = "defaults"
+
+PACKAGES += "libhowl libmdnsresponder"
+
+FILES_${PN} = "${bindir} ${sbindir} ${sysconfdir}"
+FILES_libhowl = "${libdir}/libhowl.so.*"
+FILES_libmdnsresponder = "${libdir}/libmDNSResponder.so.*"
+FILES_${PN}-doc += "${datadir}/howl/help"
+
+do_install_append() {
+       install -d ${D}${sysconfdir}/init.d
+       install -d ${D}${sbindir}
+       install -m 0755 ${WORKDIR}/mdnsresponder.init ${D}${sysconfdir}/init.d/mdnsresponder
+       # Debian puts it here, so let's do the same
+       mv ${D}${bindir}/mDNSResponder ${D}${sbindir}
+}
+
+inherit autotools update-rc.d
+