summaryrefslogtreecommitdiff
path: root/packages/libdaemon/libdaemon_0.3.bb
blob: 0d0b563de6daf676ac180ebdfce7fa7066d12245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}