summaryrefslogtreecommitdiff
path: root/libdaemon/libdaemon_0.3.oe
blob: dc292df4b7ea2b20974bd5503089acc407df8558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}