summaryrefslogtreecommitdiff
path: root/packages/libdaemon/libdaemon_0.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libdaemon/libdaemon_0.3.bb')
-rw-r--r--packages/libdaemon/libdaemon_0.3.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/libdaemon/libdaemon_0.3.bb b/packages/libdaemon/libdaemon_0.3.bb
index e69de29bb2..0d0b563de6 100644
--- a/packages/libdaemon/libdaemon_0.3.bb
+++ b/packages/libdaemon/libdaemon_0.3.bb
@@ -0,0 +1,16 @@
+SECTION = "libs"
+DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons."
+LICENSE ="GPL"
+SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-lynx"
+
+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
+}