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 }