summaryrefslogtreecommitdiff
path: root/libdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'libdaemon')
-rw-r--r--libdaemon/libdaemon_0.3.oe21
1 files changed, 21 insertions, 0 deletions
diff --git a/libdaemon/libdaemon_0.3.oe b/libdaemon/libdaemon_0.3.oe
index e69de29bb2..dc292df4b7 100644
--- a/libdaemon/libdaemon_0.3.oe
+++ b/libdaemon/libdaemon_0.3.oe
@@ -0,0 +1,21 @@
+DESCRIPTION = libdaemon is a lightweight C library which eases the writing of UNIX daemons.
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz
+
+inherit autotools libtool
+
+EXTRA_OECONF = --disable-lynx
+
+do_stage () {
+ install -m 0755 src/.libs/libdaemon.so.0.1.0 ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libdaemon.a ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libdaemon.lai ${STAGING_LIBDIR}/libdaemon.la
+ ln -sf libdaemon.so.0.1.0 ${STAGING_LIBDIR}/libdaemon.so.0
+ ln -sf libdaemon.so.0.1.0 ${STAGING_LIBDIR}/libdaemon.so
+ install -d ${STAGING_INCDIR}/libdaemon
+ for i in dlog.h dfork.h dsignal.h dnonblock.h dpid.h; do
+ install -m 0644 src/$i ${STAGING_INCDIR}/libdaemon/
+ done
+}