summaryrefslogtreecommitdiff
path: root/libdaemon/libdaemon_0.3.oe
blob: 55f07ffd444a0bc19c31812014ca0b3b78d6e2db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons."
DEPENDS = "virtual/libc"

SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"

inherit autotools libtool

EXTRA_OECONF = "--disable-lynx"

do_stage () {
	oe_soinstall 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
	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
}