summaryrefslogtreecommitdiff
path: root/packages/libdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libdaemon')
-rw-r--r--packages/libdaemon/.mtn2git_empty0
-rw-r--r--packages/libdaemon/libdaemon_0.6.bb18
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/libdaemon/.mtn2git_empty b/packages/libdaemon/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libdaemon/.mtn2git_empty
diff --git a/packages/libdaemon/libdaemon_0.6.bb b/packages/libdaemon/libdaemon_0.6.bb
index e69de29bb2..83afaacefe 100644
--- a/packages/libdaemon/libdaemon_0.6.bb
+++ b/packages/libdaemon/libdaemon_0.6.bb
@@ -0,0 +1,18 @@
+SECTION = "libs"
+DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons."
+HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-lynx --disable-doxygen"
+
+do_stage () {
+ oe_libinstall -a -so -C src libdaemon ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/libdaemon
+ for i in dlog.h dfork.h dsignal.h dnonblock.h dpid.h; do
+ install -m 0644 ${S}/src/$i ${STAGING_INCDIR}/libdaemon/
+ done
+}