aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/slotsig/slotsig_0.6.bb
blob: a10859b4b698aba6afef3374975db5d2933d959a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "A lightweight signal/slot library for decoupling C++ method calls"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"

SRC_URI = "${SOURCEFORGE_MIRROR}/slotsig/slotsig-${PV}.tar.bz2"

do_compile() {
	${CXX} -c -fPIC ${CXXFLAGS} -o slotsig_bases.o slotsig/slotsig_bases.cpp
	${CXX} -shared -o libslotsig.so.${PV} slotsig_bases.o
}

do_stage() {
	oe_libinstall -so libslotsig ${STAGING_LIBDIR}

	install -d ${STAGING_INCDIR}/slotsig/
	for X in slotsig/*.h
	do
		install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X
	done
}

do_install() {
	oe_libinstall -so libslotsig ${D}${libdir}
}